or even? <cfset var temp_inst_amt = lsParseCurrency(arguments.pledgeStruct.inst_amt) />
HTH barry.b > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Chad > Renando > Sent: Friday, 8 April 2005 2:01 PM > To: CFAussie Mailing List > Subject: [cfaussie] RE: Weird cfset behaviour > > > Have you tested it with isNumeric(). > > On Apr 8, 2005 1:31 PM, Steve Onnis <[EMAIL PROTECTED]> wrote: > > or maybe the end figure being passed has more than 2 > decimal places and it > > aint liking it > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] Behalf Of Darryl > > Lyons > > Sent: Friday, April 08, 2005 1:21 PM > > To: CFAussie Mailing List > > Subject: [cfaussie] RE: Weird cfset behaviour > > > > I am thinking the payment gateway is only expecting a > dollar amount in > > cents (in this case) > > > > Darryl > > > > [EMAIL PROTECTED] wrote on > 08/04/2005 12:56:00 PM: > > > > > if that was the case, how would you pass a cents values? > > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] > Behalf Of Ayudh > > > Nagara > > > Sent: Friday, April 08, 2005 12:56 PM > > > To: CFAussie Mailing List > > > Subject: [cfaussie] RE: Weird cfset behaviour > > > > > > > > > > > > > > > I think typelessness went out the window somewhat when > CFMX moved to the > > > Java platform. > > > > > > The multiplication form.amount * 100 is a math operation > and produces a > > real > > > number represented something like 4500.0 > > > You can dump/display this value to verify. > > > The payment gateway probably expects a numeric field > without decimal > > point, > > > so throws it out. What you need to do is to pass the value > > > ToString(Int(form.amount * 100)) instead. This ensures > you pass a string > > of > > > numbers with no decimal point to keep the payment gateway > interface > > happy. > > > > > > Regards: Ayudh > > > > > > > > > +----------------------------------------------------------------+ > > > | SOAP is the glue! Hook up your server directly to your bank. | > > > | Connect to VeriPay xServ, the Australian Payments Web Service. | > > > | Reliable, Secure, FAST: http://www.xilo.com/xserv | > > > +----------------------------------------------------------------+ > > > > > > Jason J. Troughton wrote: > > > > I have a payment gateway that need a cent amount to be > passed. I pass > > > > the dollar amount and times it by 100. > > > > <cfset amount = form.amount * 100> > > > > This returned a error from the payment gateway of 'the > amount is not > > > > numeric' > > > > I changed the above cfset to: > > > > <cfset amount = form.amount & "00"> > > > > and now the payment gateway is returning a successfull > transaction. > > > > Can someone explain why they think the problem happened > because I was > > > > under the impression that cf was typeless... > > > > > > > > Jason. > > > > > > > > > --- > > > You are currently subscribed to cfaussie as: > [EMAIL PROTECTED] > > > To unsubscribe send a blank email to > > > [EMAIL PROTECTED] > > > Aussie Macromedia Developers: http://lists.daemon.com.au/ > > > > > > > > > > > > --- > > > You are currently subscribed to cfaussie as: > > [EMAIL PROTECTED] > > > To unsubscribe send a blank email to > > [EMAIL PROTECTED] > > > Aussie Macromedia Developers: http://lists.daemon.com.au/ > > > > To unsubscribe from this email please forward this email to > > [EMAIL PROTECTED] > > > > This email message is confidential and may be privileged. > Unauthorised use, > > copying or distribution of any part of this email > > including attachments is prohibited. If you are not the > intended recipient > > please forward the email to [EMAIL PROTECTED] > > and delete the original. > > > > ABN AMRO Morgans Limited and its associates hold or may > hold securities in > > the companies/trusts mentioned herein. Any general > > advice included in this email has been prepared without > taking into account > > your objectives, financial situation or needs. Before > > acting on the advice, you should consider its > appropriateness or discuss > > with one of our investment advisors. > > > > To the extent permitted by law we exclude (and where the > law does not permit > > an exclusion, limit to the extent permitted by law) all > > liability for any direct, indirect and consequential costs, > losses, damages > > and expenses incurred in any way (including but not limited > > to that arising from negligence), connected with any use or > access to this > > email or any reliance on information contained in this email > > or any attachments. > > > > ABN AMRO Morgans Limited (ABN 49 010 669 726 AFSL 235410) A > Participant of > > ASX Group A Principal Member of the > > Financial Planning Association > > > > --- > > You are currently subscribed to cfaussie as: > [EMAIL PROTECTED] > > To unsubscribe send a blank email to > > [EMAIL PROTECTED] > > Aussie Macromedia Developers: http://lists.daemon.com.au/ > > > > --- > > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > > To unsubscribe send a blank email to > [EMAIL PROTECTED] > > Aussie Macromedia Developers: http://lists.daemon.com.au/ > > > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > To unsubscribe send a blank email to > [EMAIL PROTECTED] > Aussie Macromedia Developers: http://lists.daemon.com.au/ > --- You are currently subscribed to cfaussie as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
