Demo of toFixed function in JavaScript

Enter a number
Note: The decimal part is kept to 2 digits using toFixed(2) function. For any length of value the decimal places will remain 2 places only. ( Try by entering different length of decimal data )

Back to Tutorial of Math.toFixed() function

Your Rating





Post Comment This is for short comments only. Use the forum for more discussions.




HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
©2000-2019 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer