Hello
I want to round up the least significant digit of a price.
EX: 1.42345 = 1.4235
Actualy i do
Value1 = Number * 10 000 1.42345 = 14234.5
Value1 = Ceiling (value1) = 14235
Value1 = Value1 / 10 000 = 1.4235
Is there a leaner solution?
Martin
Rouding up the last 5' digit: Leaner solution than mine?
- Dave Masalov
- Posts: 1712
- Joined: 16 Apr 2010
- Has thanked: 51 times
- Been thanked: 489 times