bezaman Posted October 25, 2011 Share Posted October 25, 2011 is there a rule to convert $20 to Twenty Dollars and no cents? It is for a check. Link to comment Share on other sites More sharing options...
Dan Korn Posted October 25, 2011 Share Posted October 25, 2011 There's nothing built in, but a search for "JavaScript number to words" on this forum turns up several hits, and the same search in Google turns up even more, including this: http://www.mail-archive.com/fusionpro@lists.printable.com/msg01619.html Personally, I think the first link there is the best, since it's just a pure function without any web browser client code like a lot of JavaScript examples have. You can just copy the entire code from the box there into your JavaScript globals, then you can call the toWords function in any rule. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.