Styles


Siag Office

Scheme In A Grid

Can Your Spreadsheet Do This?

Screenshots

String Handling

File Formats

External Programs

Selection

Styles

Online Documentation

Selects how values in a cell are displayed. Available styles are:
Default
Siag tries to guess the right number of decimals to display.
Invisible
The values are not displayed at all.
Integer
The values are displayed as integer values.
Scientific
Values are displayed as floating point numbers.
Fixed
A predetermined number of decimals are displayed.
Date
The number is interpreted as seconds since Jan 1, 1970 and the result is displayed as a date.
Time
Like Date, but the time is displayed instead.
Comma
Groups thousands, millions and so on. Not implemented.
Percent
Displays the value as a percentage, where 1 is 100%.
Hex
The value is displayed in hexadecimal.
Currency
Adds the currency symbol and displays two digits.
User 1 - 5
Five styles are reserved for the user's own purposes.

All the styles can be redefined, given a little care and understanding of how printf works. Most formats are simply variations of floating point, but Integer and Hex are by definition integer and are called with integer arguments. Date and Time are really weird and should be more flexible.
The style selection dialog


Ulric Eriksson 2000-12-07