Jay

Jay

  • NA
  • 48
  • 0

Trim Decimal Places

Aug 1 2008 8:45 AM

Hi Everyone,

I was wondering if someone could help me.  I am recieving prices from a XML steam and I am wondering how to strip off some decimal places.

The price I get back looks like 12.5210125 and I only want to keep 2 decimal places.  How can I strip off the extra decimal places so I get 12.52   Could I use a Trim of a Substring method?

Thanks in advance.

Jay


Answers (5)