write javascript code to convert the number


Write JavaScript code to convert the number 236.2363611111556 into currency format and JavaScript statement to show output?

Var input_amt = 236.2363611111556 ;
mid_data = input_amt.toString( ) ;
decimalPos = mid_data.indexOf( ".", 0 ) ;
final_amt = mid_data.substring( 0, decimalPos + 3 ) ;
document.write( final_amt + " Rs." ) ;

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: write javascript code to convert the number
Reference No:- TGS0283674

Expected delivery within 24 Hours