types.floatΒΆ
Creates a floating point number type. Ex: types.float {min=1,max=1000,step=10,slidermin=1,slidermax=100}
Arguments:
desc A table of the type specificities, such as {min=-10,max=10}. Acceptable indices are min, max, step, slidermin and slidermax
Return:
result The created type