I have 18.9954545454545454545454545 value and i need to convert it to currency format without rounding it.
18.9954545454545454545454545.ToString("c");
But returns me "$19.00" but i need "$18.99".
Is there any method to calculate this.
I have a method that gives me exactly what i need but don't think that method is good to implement.
@Convert.ToDecimal(18.9954545454545454545454545.Substring(0, 5)).ToString("c")
Thanks