XK8ER
asked on
vb.net money digit
hello there,
how can I convert this string into money..
1516.49
into
$15.16
how can I convert this string into money..
1516.49
into
$15.16
txt.Text = Decimal.Round(yoursting, 2).ToString("f2")
Dim result As String = decimalValue.ToString("C")
Where "decimalValue" is of type Decimal.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Ha! I missed that the decimal point was being shifted to the left. An interesting requirement indeed = )