view src/luan/modules/Number.luan @ 1418:732b5de211fc

add Hosted.luan
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 18 Oct 2019 22:29:46 -0600
parents 8d95711f6615
children
line wrap: on
line source

require "java"
local BasicLuan = require "java:luan.modules.BasicLuan"
local MathLuan = require "java:luan.modules.MathLuan"


local Number = {}

Number.double = BasicLuan.assert_double
Number.float = BasicLuan.assert_float
Number.integer = BasicLuan.assert_integer
Number.long = BasicLuan.assert_long
Number.long_to_string = MathLuan.long_to_string
Number.type = BasicLuan.number_type

return Number