Discussion List Archives

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ddlm-group] Is the string '2.0' an Integer?

Antanas has asked an interesting question [1]. In essence, if data name _xyz has DDLm type 'Integer', would '2.0' conform to this specification?

I think yes, for the same reasons that both delimited and undelimited strings can be interpreted as numbers. There is a single unambiguous interpretation as an integer.

The reason this has come up is that e.g. total counts might be restricted to an integral value, but the SU will most often be non-integer, and using the form '2' would not allow appending the SU, whereas 2.0(14) allows this.

Any comments?

T +61 (02) 9717 9907
F +61 (02) 9717 3145
M +61 (04) 0249 4148
ddlm-group mailing list

Reply to: [list | sender only]