"{ Package: 'stx:goodies/xmlsuite/xquery' }"
"{ NameSpace: XQuery }"
AnyAtomicTypeToAnyAtomicTypeCast subclass:#IntegerToFloatCast
instanceVariableNames:''
classVariableNames:''
poolDictionaries:''
category:'XQuery-TypeCasting'
!
!IntegerToFloatCast methodsFor:'casting'!
cast
| value |
value := atomicValue value asDouble.
^ AtomicItem withValue: value asType: anotherType typeName.
"Created: / 17-11-2009 / 16:46:08 / Jan Kurs <kursj1@fel.cvut.cz>"
"Modified: / 17-11-2009 / 22:36:12 / Jan Kurs <kursj1@fel.cvut.cz>"
! !
!IntegerToFloatCast class methodsFor:'documentation'!
version_SVN
^ '$Id$'
! !