Manipulate Expression Numbers(Advanced)

Top  Previous  Next

In CalcExp, it's possible to mix using different input number formats in one expression by using macros. there are 4 macros corresponding to 4 input number formats. they are: Hex, Oct, Dec, Bin. of course a Hex macro only accepts a valid hexadecimal number string, a Bin macro only accepts a valid binary number string, and so on.

 

 

Example 1: Calculate Hex(FF)+Bin(101)+Oct(12)+Dec(10)+10

 

1. Input expression: Hex(FF)+Bin(101)+Oct(12)+Dec(10)+10

2. Make sure Output Number Format is: Dec

3. Result is: 290