Status/Resolution/Reason: Closed/Deferred/EnhancementRequired
Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)
Created: 12/23/2013
Components: Language
Versions: 10.0
Failure Type: Enhancement Request
Found In Build/Fixed In Build: Final /
Priority/Frequency: Trivial / Unknown
Locale/System: English / Platforms All
Vote Count: 3
It would be good to be able to do this:
<cfset int myInt = 42>
And have CF treat that *as an int*, thereafter. myInt can only take another int as a value, it can only be used for int-type operations, needs to be specifically cast to another type if need be.
Sometimes it's great to be loosely typed. SOmetimes it's a real pain in the arse to be so flippant with data typing.
Over and above that, often CF makes some poor decisions as to how best to store values, so being able to coerce it would be very bloody useful.
--
Adam
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3687548
External Customer Info:
External Company:
External Customer Name: Adam Cameron.
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: