Posts

Post not yet marked as solved
8 Replies
8.4k Views
I've a Double number likelet num = 6.1699999999999999I want this number with two decimal points like : 6.16But with the tools and functions not make this. The solutions make a round became number to: 6.17I tried:ceil(num*100)/100andString(format: "%.2f", num)Both the result is: 6.17.So how I get the number with two decimal points without round?
Posted Last updated
.