Aug 22, 2003 #1 Kendel Programmer Apr 24, 2002 1,512 US Hi, Does anyone have a money format function that I can copy? <input type="text" onBlur="MoneyFormat()"> <script language="vbscript"> Sub MoneyFormat() ??? End Sub </script> Thanks
Hi, Does anyone have a money format function that I can copy? <input type="text" onBlur="MoneyFormat()"> <script language="vbscript"> Sub MoneyFormat() ??? End Sub </script> Thanks
Aug 22, 2003 #2 lebisol IS-IT--Management Jan 3, 2003 3,325 US I love this post "copy"...not help me out but copy LOL right here budy: http://www.drdev.net/article04.aspAll the best! > need more info? :: don't click HERE :: Upvote 0 Downvote
I love this post "copy"...not help me out but copy LOL right here budy: http://www.drdev.net/article04.aspAll the best! > need more info? :: don't click HERE ::
Aug 22, 2003 #3 Veep Programmer Jan 10, 2002 1,368 US FormatCurrency(Expression[,NumDigitsAfterDecimal [,IncludeLeadingDigit [,UseParensForNegativeNumbers [,GroupDigits]]]]) Something in this neighborhood: <form name="myForm"> <input type="text" name="myTxtBox" onBlur="MoneyFormat()"> </form> <script language="vbscript"> Sub MoneyFormat() myVar=formatcurrency(myForm.myTxtBox.value,2) myForm.myTxtBox.value=myVar End Sub </script> Upvote 0 Downvote
FormatCurrency(Expression[,NumDigitsAfterDecimal [,IncludeLeadingDigit [,UseParensForNegativeNumbers [,GroupDigits]]]]) Something in this neighborhood: <form name="myForm"> <input type="text" name="myTxtBox" onBlur="MoneyFormat()"> </form> <script language="vbscript"> Sub MoneyFormat() myVar=formatcurrency(myForm.myTxtBox.value,2) myForm.myTxtBox.value=myVar End Sub </script>
Aug 22, 2003 Thread starter #4 Kendel Programmer Apr 24, 2002 1,512 US Thank you guys!!! Upvote 0 Downvote