Demo of toPrecision function in JavaScript

Enter a number
Note: The parameter is kept to 5 digits using toPrecision(5) function. For any length of value the total place will remain 5 places only. ( Try by entering different length of number )

Back to Tutorial of Math.toPrecision() function

Subscribe to our YouTube Channel here


* indicates required
Subscribe to plus2net

    Post your comments , suggestion , error , requirements etc here .

    We use cookies to improve your browsing experience. . Learn more
    HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
    ©2000-2024 All rights reserved worldwide Privacy Policy Disclaimer