objectmaker methods need to be cast to their real type for emscripten
This fixes the inconsistency check error when a number-based float object is created. (e.g. [3])
This fixes the inconsistency check error when a number-based float object is created. (e.g. [3])