Rounding to the nearest hundred
-
- Posts: 7
- Joined: Wed Jan 13, 2010 1:40 pm
- Location: Louisville, KY
Rounding to the nearest hundred
How can I round to the nearest hundred in the report writer?
-
- Posts: 31
- Joined: Thu Feb 17, 2011 1:54 pm
- Location: Cuiaba, Brazil
Rounding to the nearest hundred
Not sure if helpful but give it a shot:
decimal Round (decimal value, int decimals)
Rounds a decimal value to the nearest integer.
Parameters
value - A decimal number to be rounded.
decimals - The number of significant decimal places (precision) in the return value.
Return Value
The number nearest to a value with a precision equal to decimals. If the value is halfway between two numbers, one of which is even and the other odd, then the even number is returned. If the precision of value is less than decimals, then value is returned unchanged.
Rounding to the nearest hundred
Hello.
Thank you.
Please, try to use this expression:StephBell wrote:How can I round to the nearest hundred in the report writer?
Code: Select all
{Round(YourDataSource.YourTextField/100)*100}