# File temp/functions.rb, line 319 def Functions::number( object=nil ) object = @@context[:node] unless object case object when true Float(1) when false Float(0) when Array number(string( object )) when Numeric object.to_f else str = string( object ) #puts "STRING OF #{object.inspect} = #{str}" if str =~ /^\d+/ object.to_s.to_f else (0.0 / 0.0) end end end