I
itportal
Hello,
This will probably be a simple question. How can I round float/doubles
to a specific digit after the comma/dot?
For example we have float i = 1.234567. I want to round it to 1.234.
Whan function should I use?
This will probably be a simple question. How can I round float/doubles
to a specific digit after the comma/dot?
For example we have float i = 1.234567. I want to round it to 1.234.
Whan function should I use?