I know this is being picky....buuuuut :
Error near line 362, column 150.

Isn't that a tad on the big side? Not that I've seen your code or anything
but large files in excess of 200 lines usually can be broken down into
smaller steps using cfinclude. Where the cfincludes do one action for the
page (ie like a query).


Best Regards,
Adam Reynolds 

-----Original Message-----
From:   John McCosker [SMTP:[EMAIL PROTECTED]]
Sent:   21 February 2001 10:02
To:     CF-Community
Subject:        RE: rounding large decimal figures

Cheers Dan sorted

-----Original Message-----
From: Daniel Lancelot [mailto:[EMAIL PROTECTED]]
Sent: 21 February 2001 09:59
To: CF-Community
Subject: RE: rounding large decimal figures


get rid of the commas... it thinks its a string when it has commas in... 
replace(meter,",","","all")

-----Original Message-----
From: John McCosker [mailto:[EMAIL PROTECTED]]
Sent: 21 February 2001 09:47
To: CF-Community
Subject: rounding large decimal figures


Greetings all.

has anyone come accross problems when outputting rounded int values from
sql
data entries.

On my my development machine runs like a baby, using enterprise server
4.5.1

but on the web server also 4.5.1 I get this error,

An error occurred while evaluating the expression: 
#round(meter)#
Error near line 362, column 150. 

Parameter 1 of function Round which is now "1,025.00" must be a stk_real
number 
The error occurred while processing an element with a general identifier of
(#round(meter)#), occupying document position (362:149) to (362:162) in the
template file
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to