grzegorzmazur / yacas

Computer calculations made easy
http://www.yacas.org
GNU Lesser General Public License v2.1
124 stars 24 forks source link

OpenMath <OMF dec=\"1\"/> becomes an integer #304

Closed MarcoCostantini closed 4 years ago

MarcoCostantini commented 4 years ago
In> FromString("<OMOBJ xmlns=\"http://www.openmath.org/OpenMath\" version=\"2.0\" cdbase=\"http://www.openmath.org/cd\"><OMF dec=\"1\"/></OMOBJ> ")OMRead()
Out> 1

The expected output is the float 1.0