User Tools

Site Tools


prpl:deg2rad

<- PRPL reference <- Math

Deg2Rad

ArgumentsResultNotation
number [ -number]

Description

Pushes the constant to use in converting from degrees to radians to the stack. Multiply this value with a value expressed as degrees to obtain radians.

Examples

trace(180 mul(Deg2Rad)) #prints PI 
prpl/deg2rad.txt · Last modified: 2016/12/02 18:33 by 127.0.0.1