## Example Use Cases

### Adding Sales Tax or VAT

Adding Sales Tax or VAT is easier with Inseries than with most other calculators. Simply type in the price and then add the tax by adding the actual percentage (e.g. 20% for Austria's VAT). Inseries will intuitively guess that you really want to add the percentage rather than the number 0.2 ;-). A tip: you probably also want to switch to two fraction digits mode by double tapping on the result field.

### Clearly sum up many numbers

Sometimes you need to sum up many numbers and you want to keep track on what you already entered. The best way to do this with Inseries is by entering each number followed by the quick-sum key on the calculator keypad. The quick-sum key always adds the entered number to the current result, so you save a key press and you see all summed up numbers nicely on top of each other. A tip: clear the result before starting such a calculation, this will add a stronger separator line below the previous result.

### Calculate the remainder of a division

The easiest way is to use the % modulo operator (e.g., 5 % 2). Alternatively, we also supply a mod function. Access the function chooser via the f function key on the left bottom of the calculator keypad. Then select the mod function in the "General" section. Enter the dividend argument first, then press the argument separator key on the keypad (comma ',' or semicolon ';' depending on your locale settings), finally add the divisor as the second argument.

### Deducting a %-discount

Also subtracting discounts is very easy with Inseries. Like for adding taxes, you can also deduct discounts simply by subtracting the actual percent discount (e.g., "-30%"). Inseries will then assume that you want to subtract 30% of the left operand value. Again you may want to switch two fraction digits mode by double tapping on the result field.

### Using trigonometric functions

All trigonometric functions such as sine, cosine, and tangent are located in the functions chooser that you access via the f function key on the left bottom of the calculator keypad (section "Trigonometric"). You simply choose the function and then enter the function's argument (within the brackets). Please note that currently only radians are supported, e.g., the period of sine is 2*pi. You can convert degrees to radians by multiplying them with pi/180. Tip: You can omit the closing bracket after an argument at the end of a calculation (Inseries will auto-complete it correctly).

### Calculate a Random Integer Number

Humans are inherently bad at coming up with random numbers (actually, computers, too, but you can trick them to come up with slightly better results ;-), therefore a random number generator can sometimes come in handy. Inseries contains a "real" random number generator that is better than most typical built-in rand functions. As it is a function, you find the rand function in the functions chooser. The rand function does not take any arguments and returns a random decimal number between 0 and 1. In order to calculate a random integer number, say between 0 and 9 we can multiply the rand result with 10 and "round" it down to the next integer value using the floor function (e.g., floor(3.2) and floor(3.9) both result 3).

## Calculation & Results

### How can I use the current result in a new calculation?

If you start a new calculation with an operator you are implicitly using the current result as the left operand. In order to use the result in the middle of a calculation, or as an operand for a function you can use the R button on the calculator keypad.

### Is there a quick way to clear the calculation field?

Yes, long-tapping the backspace key (located in the top-left corner of the calculator keypad) will clear the calculation field.

### How can I copy the result of a calculation?

Long-tap on the result field to bring up the result field menu. Select the Copy Result action to copy the result into the clipboard.

### Can I go "back" to the previous result?

Yes, you can use the undo-button in the top-left corner of the calculator pad to go back one result.

### How can I clear the current result?

The easiest way to clear the result field is to use a swipe-right gesture on the right-hand side of the result field. Alternatively, you can long-tap on the result field to bring up the result field menu and use the Clear Result action.

### Can I clear all previous results?

Yes, long-tap on the result field to bring up the result field menu and use the Clear All Results action to clear all previous results.

## Date Calculations

### How can I enter a date?

You can enter dates using one of two formats: DD.MM.YYYY, or MM.DD.YYYY (or DD,MM,YYYY if the ',' is your decimal separator). You can switch between both formats using the result field context menu. You can also enter two-digit years (YY) where years 70 or higher are interpreted as 1970, 1971, etc. and lower years as 2001, 2002, 2003,...

### Is there a way to get the current date?

Yes, simply use the today function.

### How can I calculate the number of days between two dates?

You can subtract the two dates from each other (e.g., 2.11.2014 - 2.6.2014). You can also use the ddays function and pass the start and end date as its arguments, e.g., ddays(2.6.2014, 2.11.2014).

### Can I add days to a given date and calculate the result date?

Yes, simply use the standard + operator to add days to a date (e.g., 2.6.2014 + 5). Alternatively. you can use the adays function: pass the start date as the first argument and the number of days as the second argument, e.g., adays(2.6.2014, 5), or adays(today(), 5).

### Is it possible to calculate the current calendar week?

Yes, you can use the cweek function to calculate the calendar week, e.g., cweek(2.6.2014).

## Memory Operations

### How do I store the current result in memory?

Use a swipe-left gesture to "slide" the result into the memory on the left side of the result field. The memory icon will become darker when a value has been stored in memory.

### How do I retrieve a stored result from memory?

Use a swipe-right gesture on the left side of the result field to "push" the memory variable into the calculation field ("M"). Alternatively, you can use the M button on the calculator keypad (2nd on R).

### How do I clear the memory?

Use a swipe-up gesture on the left side of the result field to clear the memory. The memory icon will get lighter again when the memory has been cleared.

## General Usage

### How do I access the built-in overlay help view?

You can always access the overlay help view that is shown on first startup by swiping your finger up from the bottom of the calculator keypad.

### How do I switch between fraction digit modes?

Inseries provides three different fraction digit modes: All fraction digits (default), 2 fraction digits, and 4 fraction digits. You toggle between fraction digit modes via double-tapping onto the result field. You know that you are in 2 fraction digit mode if a small 2 is shown to the right of the result field; the 4 fraction digit mode shows a small 4. The fraction digit mode is an implicit app setting and, thus, persists between app restarts.

### How do I enter a function?

You can access all functions via the "f" function key on the left bottom of the calculator keypad. Most functions take a single argument right after the opening bracket (e.g. sin, cos, tan, round). The modulo function mod takes two arguments that need to be separated by the argument separator key (comma ',' or semicolon ';' depending on your locale settings). The random value function rand takes no arguments.

### How do I access constants such as e, or pi?

You can access all built-in constants via the 2nd function (c) of the f function key in the lower left area of the calculator keypad. The most often used constants pi and e are accessible directly via the key right above the function key. All other mathematical constants are accessible via the function chooser only. If you want to "see" the decimal number behind a constant simply add it to an empty calculation and press the enter key on the calculator keypad.

## Usage on the Mac

### How do I activate and deactivate the Inseries app using just the keyboard?

The default global hotkey for activating Inseries is CTRL+CMD+0; you can configure the global hotkey using the preferences window accessible via the gear drop-down menu. In order to close Inseries without quitting it simply press the ESC key.

### Can I start Inseries automatically when I log into my Mac?

Yes, you can switch on auto-startup in the preferences window that is accessible through the gear drop-down menu.

### I don't like colored icons in my menu bar, can I have a black-and-white icon?

Of course, simply use the gear drop-down menu to open the preferences window and switch to the black-and-white menu bar icon.

### How can I store and access the current result in memory?

Use CMD+S to store the current result in memory. Either use CMD+R to access the memory, or simply use the M or m variable.

### How can I delete the current result or go back to the previous result on the Mac?

Use CMD+DELETE to delete the current result. Press CMD+B to go back to the previous result. You can also delete all results by using the SHIFT+CMD+DELETE shortcut (this functionality is also accessible via the gear drop-down menu).

### How do I enter a function or constant on the Mac?

If you know the name of the constant or function simply type it in (the names are case insensitive for easier usage), e.g., simply type pi or PI. Alternatively you can press SHIFT+CMD+F to access the function chooser context menu, or SHIFT+CMD+C to access the constant chooser menu.

### Can I also toggle fraction digits using keyboard shortcuts?

Sure, simply use CMD+2, CMD+4, CMD+9, or CMD+0 for 2, 4, all, or no fraction digits respectively.