Allow calling methods with float arguments with LuaJava.

This commit is contained in:
Ian Farmer
2009-01-04 01:15:19 +00:00
parent 198a19c861
commit 69a438e0d4
2 changed files with 19 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
local f = luajava.bindClass("java.lang.Float")
print(f:toHexString(0.5))
print(f:valueOf(0.5))
print(f:valueOf("0.5"))