3 ms·
> Easy, either implement a decimal type (4 fractional digits) as most programming languages have them implemented by users. C#, Ruby, Python, and Java, at leas
by dragonwriter 7y ago
> Easy, either implement a decimal type (4 fractional digits) as most programming languages have them implemented by users.
C#, Ruby, Python, and Java, at least, among industrially popular languages all provide a fixed and/or arbitrary precision decimal type in either the core language or stdlib. Lower level languages sometimes don't, and JavaScript, among higher-level popular languages, notably does not.