Source: Number.sc

Number represents a mathematical quantity.

Addition.

Subtraction.

Multiplication.

Division.

Integer division.

From superclass: Object

Modulo.

From superclass: Object

Exponentiation.

Answer the polar radius of the number.

Answer the polar angle of the number.

Answer the real part of the number.

Answer the imaginary part of the number.

Create a new Point whose x coordinate is the receiver and whose y coordinate is aNumber.

Create a new Complex number whose real part is the receiver with the given imaginary part.

Create a new Polar number whose radius is the receiver with the given angle.

Calls **function** for numbers from this up to endval, inclusive, stepping each time by 1.

endValue |
a Number. |

function |
a Function which is passed two arguments, the first which is an number from this to |

(endval, and the second which is a number from zero to the number of iterations minus one.) |

Calls **function** for numbers from this up to endval stepping each time by step.

endValue |
a Number. |

stepValue |
a Number. |

function |
a Function which is passed two arguments, the first which is an number from this to endval, and the second which is a number from zero to the number of iterations minus one. |

Calls **function** for numbers from this up to endval stepping each time by a step specified by second.

second |
a Number. |

last |
a Number. |

function |
a Function which is passed two arguments, the first which is an number from this to endval, and the second which is a number from zero to the number of iterations minus one. |

helpfile source: https://github.com/supercollider/supercollider/tree/3.13/HelpSource/Classes/Number.schelp

link::Classes/Number::

link::Classes/Number::