BLACKBERRY

Page 40

R E F E R E N C E

Function

Purpose DaysUntil(1, 15, 2010)) Specify # of digits to display after decimal point Convert angle in radians to degrees Divide div1 by div2 Natural antilogarithm (e to power ‘exp’) Convert between Fahrenheit and Celsius degrees Convert between feet and meters Convert between hours and minutes Convert between hours and seconds Convert between inches and centimeters Convert between nominal and effective annual interest rate for # of compounding periods/year Inverse of x (1/x) Natural logarithm of num Base 10 logarithm of num Base 2 logarithm of num Median of numbers Convert between miles and kilometers Convert between minutes and seconds Modulus mod of num.

Decimals(number, digitsAfterPoint) Degrees(radians) Div(div1, div2) E(exp) FahrCelsius?(fahr?, Celsius?) FootMeter?(feet?, meters?) HourMin?(hours?, mins?) HourSec?(hours?, secs?) InchCM?(inches?, centimeters?) Interest?(nominal%?, effect%?, periods) Inv(x) Ln(num) Log(num) Log2(num) Median(num, …) MileKM?(miles?, kilometers?) MinSec?(mins?, secs?) Mod(num, modulus)

= num – modulus*INT(num/modulus) where INT() = Rounds a number down to the nearest integer e.g. INT(-8.4) = -9, INT(8.9) = 8 Multiply parameters Divide num by 100 Calculate percent change, compound interest, or cost-sell-markup. Specify ‘1’ for ‘periods?’ when it is not needed. Convert between pounds and kilograms Raise ‘base’ to power ‘exp’ Calculate profit margin variable Convert angle in degrees to radians Random non-negative integer in the range 0...num-1 inclusive Integer root of num (e.g. root(10,7)=7th root of 10) Secant of angle in degrees Hyperbolic secant of angle in degrees

Mul(multiplicand, …) Percent(num) PercentChange?(old?, new?, change%?, periods?) PoundKG?(pounds?, kilograms?) Pow(base, exp) ProfitMargin?(price?, cost?, margin%?) Radians(degrees) Rnd(num) Root(num, root) Sec(degrees) Sech(degrees)

38


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.