> <cfscript>
>   VARIABLES.someVar = "3500000";
>   VARIABLES.digit2 = VARIABLES.someVar / 1024 / 1024;
>   VARIABLES.ImageMaxFileSize1 = 
> NumberFormat(VARIABLES.digit2, ",._") & "mb";
> 
>   writeOutput( VARIABLES.ImageMaxFileSize1 ); </cfscript>
Wouldn't

<cfscript>
  variables.someVar = '3500000';
  writeOutput(numberFormat(variables.someVar / 1048576 , ",._") & "mb");
</cfscript>

Be a little faster ;)

NOTE: kidding, please don't flame me!

--
Jay


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234245
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to