chandub
0
Newbie Poster
Recommended Answers
Jump to PostHere is the code
<html> <script lang='javascript'> function fraclength(num) { alert(num.split(".")[1].length) ; } fraclength("54.93934"); </script> </html>
All 3 Replies
urtrivedi
276
Nearly a Posting Virtuoso
chandub
0
Newbie Poster
peter_budo
2,532
Code tags enforcer
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.