FiM++ Wiki
Register
Advertisement

The divide operator is an arithmetic operator which divides a number object by another.

Its token is named DIVISION.

Phrases[]

Infix[]

Icon Info
See Also: Infix notation


Infix notation can be achieved using the phrase divided by or Icon Warning over.

Its FDS is

Example[]

I wrote the number 8 divided by the number 2.

This prints 4.

Its Java equivalent is as follows:

System.out.println((double)8 / (double)2);

Prefix[]

Icon Info
See Also: Prefix notation


Prefix notation can be achieved using the phrase divide and the infix separator and or by.

Its FDS is

Example[]

I wrote divide the number 8 by the number 2.

This has the same effect as the above example.

See Also[]

  • Prefix Notation
  • Infix Notation


Icon Info
This article is a stub. You can help FiM++ Wiki by expanding it.
Advertisement