I have a number that I want to take only the decimal part and convert it to an integer with certain precision.
How can I do that in Dart Language or flutter ?
For example :
turn this 247.64646122587197 into this 6464
Drop the float number and take only 4 decimals and convert it to an integer.
floor((x % 1) * 10000)