Don't perform any string operations on the variable when we assume it's the decimal...
authorMichael J. Rubinsky <mrubinsk@horde.org>
Fri, 20 Aug 2010 00:41:04 +0000 (20:41 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Fri, 20 Aug 2010 00:41:04 +0000 (20:41 -0400)
commitf8c3e5f348ebd61023964d43c380bfce4630c8ef
tree21d0b489c1e43c15f28bbf98fcb7f216f51a427f
parent7981d3a7ef96c967da0ddc0862ceb5e208d04e54
Don't perform any string operations on the variable when we assume it's the decimal value.

Just cast it outright, don't trim() or replace the ordinal indicators if present, the
cast operation will do that for us, and as a bonus, won't corrupt the value if it's in
a locale that doesn't use a decimal point for a decimal seperator.

Bug: 9180
framework/Image/lib/Horde/Image/Exif/Base.php