Fandom

Petit Computer Wiki

* (Operator)

914pages on
this wiki
Add New Page
Comments0 Share

* is the BASIC operator for multiplication.

If the result of multiplying two numbers has a magnitude greater than SmileBasic can represent, the system generates an Overflow error. It also generates an Overflow error when the result is a particular value that is within SmileBasic's capacity to represent: 524287.999755859375.

As well as working on numbers, the first argument can also be a string. The second argument must be a number, and is rounded down. If this number is 0 or less, the result of the multiplication is an empty string; if the number is 1 or more, the string is repeated that many times.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.