feat: add input_number function

This commit is contained in:
Matthieu Bessat 2022-05-16 08:29:14 +02:00
parent bcaf2cb3b7
commit d562af9876
8 changed files with 61 additions and 11 deletions

View file

@ -2,5 +2,4 @@
set a to input_number()
set b to input_number()
set res to a+b
print_int(res)
print_number(res)

View file

@ -1,2 +1,3 @@
# test modulus operator
print_number(20.2 % 10)
set a to input_number()
print_number(a)