Mallesh

Mallesh

  • 1.7k
  • 50
  • 18.5k

hi please help me on this how to convert string to decimal

Mar 16 2013 2:54 AM
Hi,

please see code below

string strValue="(1000*15)/100";
decimal calculatedValue=convert.toDecimal(strValue);

it is giving a error 
I want ot convert string of formula containing  values to decimal



Answers (3)