todo
This commit is contained in:
parent
96868a742f
commit
217a4e98ee
1 changed files with 1 additions and 0 deletions
|
@ -76,6 +76,7 @@ module Rpl
|
||||||
elsif parsed_entry[:type] == :numeric
|
elsif parsed_entry[:type] == :numeric
|
||||||
parsed_entry[:base] = 10 # TODO: parse others possible bases 0x...
|
parsed_entry[:base] = 10 # TODO: parse others possible bases 0x...
|
||||||
|
|
||||||
|
# TODO: store value as BigDecimal
|
||||||
begin
|
begin
|
||||||
parsed_entry[:value] = Float( parsed_entry[:value] )
|
parsed_entry[:value] = Float( parsed_entry[:value] )
|
||||||
parsed_entry[:value] = parsed_entry[:value].to_i if (parsed_entry[:value] % 1).zero? && elt.index('.').nil?
|
parsed_entry[:value] = parsed_entry[:value].to_i if (parsed_entry[:value] % 1).zero? && elt.index('.').nil?
|
||||||
|
|
Loading…
Reference in a new issue