﻿ AutoCalc Functions

# AutoCalc Functions

Navigation:  »No topics above this level«

# AutoCalc Functions   AutoCalc Functions come in two flavours:

General Convertor
Add this at the front of the equation and everything after it gets converted.  General Converters always go at the front of the equation and have a \$ before them.

Select Convertor
Add this before each number in the equation to work on just that number.

Round Fraction

\$rf        Regular Mode

\$rfs        Special Mode

Rounds fraction to the nearest division.

Say you have your fraction 2/3, but you need it in the closest possible eighths, so to round 2/3 to the nearest eighth, you type:

\$rf 2/3,8

Now, there are two modes for this function; both will provide the closest possible value and will round up or down to get your closest fraction.

\$rf mode

owill try to preserve the denominator you chose and will not simplify the fraction

\$rfs mode

oprovides a more accurate answer, but does not try to preserve the denominator

owill simpifly the fraction if possible  (in other words, \$rf 1/2,8 = 1/2 because it simplifies 4/8).

\$rf 2/3,8 = 5/8

\$rfs 2/3,8 = 431/647

\$rf 1/2,4 = 2/4

\$rfs 1/2,4 = 1/2

Here \$rf gives us 2/3 because the denominator provided is 3 and it tries to give the closest value in that division

However, \$rfs is more accurate because it doesn't have to match the denominator.

Remember that we are trying to round a fraction to the nearest fraction.  Here we are rounding to 3; if you wanted a fraction that was exactly 1/2 ÷ 3 you wouldn't use the Round Fraction function - you would simply calculate (1/2)/3 = 0.2  and use the Convert Answer to Fraction function to get 13/64.

\$rf 1/2,3 = 2/3

\$rfs 1/2,3 = 1/2

Decimal to Hex

\$h

A General Convertor

\$h 10 = A

\$h 11+1 = C

Decimal to Binary

\$b

A General Convertor

\$b 2+2 = 100

Binary to Decimal

A Select Convertor

Use ' for unsigned binary and two ' for a signed binary number.

'011 = 3

'11 = -1 (unsigned binary with one ' )

''11 = -1 (signed binary with two ' )

'100+'100 = 8

Hex to Decimal

A Select Convertor: 0x

(There isn't a General Convertor for this yet)

Just type 0x in front of any number to make it a hex value (rendered as decimal in the answer). You can mix this into your regular equation alongside decimal values.

0x10 + 0x11 = 33

10+0xA+1 = 21

Character to Ascii Code

\$c

Converts a character into it's ascii code point.

It ignores the space key, however.  But in case you need to know that, space is 32.

\$c 4 = 52

\$c # = 35

Ascii to Character

\$a

Converts an ascii code into it's character

\$a 32 = [space] (even tells you if the character is a space character! If it just put a space you wouldn't see it)

\$a 35 = #

\$a 52 = 4

Unicode to Character

\$u

Converts a unicode code into it's character.

\$u 23 = #

\$u 34 = 4

\$u 0023 = #

\$u 0x0023 = #

Character to Unicode

\$n

Converts a character into it's unicode code point.  It won't fetch the space character though.  But in case you need it, it is 0x20.

\$n # = 00x23

\$n 4 = 00x34