If you need accuracy, always use type .d (double precision).PBJim wrote: Sun Sep 01, 2024 8:19 am For floating-point, type .f, there are usually 7-digits of precision after which an error occurs.
It is much more accurate as .f
If you need accuracy, always use type .d (double precision).PBJim wrote: Sun Sep 01, 2024 8:19 am For floating-point, type .f, there are usually 7-digits of precision after which an error occurs.
Code: Select all
Debug FormatNumber(0.01*12*659,2)