Skip to content

number property type

The number signifies a simple type that stores 64-bit floating-point values. The following table shows the precision and approximate range for the double type.

You can do any numeric operation on this property.

Available operators +, -, *, /, %, ==, !=

Example

coffeeshop(base class) language properties

TypeName
strname
numberratings
numbertotalTables
numberbookedTables
1
2
3
4
5
6
7
8
<span>
    <div>
        Rating : 
    </div>
    <div>
        Available tables : 
    </div>
</span>