Rounding to the nearest $100
-
- Posts: 18
- Joined: Thu Aug 27, 2009 2:54 pm
- Location: Louisville, KY
Rounding to the nearest $100
Hello,
I am using an older version of the your product, 2010.2.745.0 to be exact (and, anxiously waiting for a drop of the newest release!), and am trying to round a number to the nearest $100. It seems that I am able to round to specific decimal places, but am unable to round to the left of the decimal. Can you please advise?
Thank you,
Crystole Roberts
I am using an older version of the your product, 2010.2.745.0 to be exact (and, anxiously waiting for a drop of the newest release!), and am trying to round a number to the nearest $100. It seems that I am able to round to specific decimal places, but am unable to round to the left of the decimal. Can you please advise?
Thank you,
Crystole Roberts
Rounding to the nearest $100
Hello,
Please try to use the following expression:
{Math.Round(YourValue/100) * 100}
Thank you.
Please try to use the following expression:
{Math.Round(YourValue/100) * 100}
Thank you.
-
- Posts: 18
- Joined: Thu Aug 27, 2009 2:54 pm
- Location: Louisville, KY
Rounding to the nearest $100
Thank you! That did the trick!
Rounding to the nearest $100
Hello,
Great!
Have a nice day.
Thank you.
Great!
Have a nice day.
Thank you.
-
- Posts: 2
- Joined: Mon Oct 29, 2012 5:39 am
Re: Rounding to the nearest $100
hi
i use this
but it gives error
" The call is ambiguous between the following methods or properties: 'System.Math.Round(double)' and 'System.Math.Round(decimal)' "
i use this
but it gives error
" The call is ambiguous between the following methods or properties: 'System.Math.Round(double)' and 'System.Math.Round(decimal)' "
Re: Rounding to the nearest $100
Hello.
You should cast type to Double or Decimal.
Thank you.
You should cast type to Double or Decimal.
Thank you.