need to do the conversion as said above.
eg. "one thousand five hundred" --> 1500
1500-->"one thousand five hundred"
upto billion..
tried using this logic..
separate billion, million, thousnd, units..made std fn
fn_conv(){ convert to hundredth place.. then store to var.. million, billion ..}
then print in format.. ("%d,%d,%d,%d",billion,million,thousnd,units);
but getting weird outputs.. plzz somebody help me out..this is asessmnt 4 my job's training..