News for hackers. Stuff that matters.
Re:0.30000000000000004 by phoe-krk on Monday December 02, 2019 @05:32PM (#21687798)
Some langs have that in their standard included batteries.

(Shameless Common Lisp plug: http://clhs.lisp.se/Body/t_ration.htm)

Re:0.30000000000000004 by banachtarski on Monday December 02, 2019 @11:23PM (#21689900)
Yes including C++, the language mentioned in the parent post (`std::ratio`)