Yes, point taken, but we did try many formats and since CF does not make variable types apparent I assumed that when a '4' was output to the screen that it was actually a '4' in the variable. My mistake to assume anything, I suppose.
Paolo -----Original Message----- From: Stephen Moretti [mailto:[EMAIL PROTECTED]] Sent: 05 February 2003 14:42 To: [EMAIL PROTECTED] Subject: Re: [ cf-dev ] 2+2 != 4 (not in CFX tag anyway) [snip] > > What's the difference? I hear you cry. Well, not a lot of you code > correctly, but if your code wasn't aware of this change it makes a world of > difference, especially where you are accepting values and passing them > straight on in raw to third party software that DOES care. > [snip] > > BTW If line 3 is changed to "<CFX_VAR VAR=#evaluate(temp)#>" then it returns > correctly. What is going on? > /me gets CF Manual out, flicks to the functions list and points out the NumberFormat() function. If you're passing stuff to another application that expects it in a specific format, then you should write your code to supply it in the correct format, rather than just expect it to happen..... -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
