gnome-calculator(1) User Commands gnome-calculator(1)
NAME
gnome-calculator, gcalctool - perform basic, financial, and scientific calculations
SYNOPSIS
gnome-calculator [-a accuracy] [-D] [-E] [gnome-std-options]
DESCRIPTION
The Calculator application is multifunctional and can handle different types of mathematical approaches.
Calculator has the following modes:
Basic Mode Provides standard calculator functions. You can store numbers in 10 different memory registers, and easily retrieve
and replace the numbers in the memory registers. Basic Mode is the default mode. You can use all of the Basic Mode
functions in each of the other modes.
Financial Mode Provides several complex financial functions.
Scientific Mode Provides many additional mathematical functions, including trigonometric and logical functions. You can also store
your own functions and constants, when you use Scientific Mode.
EXTENDED DESCRIPTION
On startup, Calculator uses the following configuration resources stored in a GConf database.
Resource: /schemes/apps/gcalctool/accuracy
Values: Accuracy value
Description: The number of digits displayed after the
numeric point. This value must be in the
range 0 to 9.
Resource: /schemes/apps/gcalctool/base
Values: Numeric Base
Description: The initial numeric base. Valid values are
"BIN" (binary), "OCT" (octal), "DEC" (deci-
mal), and "HEX" (hexadecimal).
Resource: /schemes/apps/gcalctool/display
Values: Display mode
Description: The initial display mode. Valid values are
"ENG" (engineering), "FIX" (fixed-point), and
SCI" (scientific).
Resource: /schemes/apps/gcalctool/mode
Values: Mode
Description: The initial calculator mode. Valid values are
"BASIC", "FINANCIAL", and "SCIENTIFIC".
Resource: /schemes/apps/gcalctool/showzeroes
Values: true, false (true)
Description: Whether to show trailing zeroes after the
numeric point in the display value.
Resource: /schemes/apps/gcalctool/showregisters
Values: true, false (true)
Description: Whether to display the memory register window
when Calculator starts.
Resource: /schemes/apps/gcalctool/trigtype
Values: Trig. type
Description: The initial trigonometric type. Valid values
are "DEG" (degrees), "GRAD" (grads), and
"RAD" (radians).
Any constants or functions that the user defines are also stored in the GConf database.
OPTIONS
The following options are supported:
-a accuracy Specifies the number of digits displayed after the numeric point. This value must be in the range 0 to 9.
-D Enable debug mode.
-E Enable debug mode in the multiple-precision arithmetic package.
gnome-std-options Standard options available for use with most GNOME applications. See gnome-std-options(5) for more information.
EXAMPLES
Example 1: Launching Calculator
example% gnome-calculator
EXIT STATUS
The following exit values are returned:
0 Application exited successfully
>0 Application exited with failure
FILES
The following files are used by this application:
/usr/bin/gnome-calculator Executable for Calculator.
~/.gcalctoolrc User-specific resources for customizing the appearance and color of Calculator.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-calculator |
+-----------------------------+-----------------------------+
|Interface stability |External |
+-----------------------------+-----------------------------+
SEE ALSO
Calculator Manual
Latest version of the GNOME Desktop User Guide for your platform.
gnome-std-options(5)
NOTES
Written by Glynn Foster and Rich Burridge, Sun Microsystems Inc., 2003.
SunOS 5.10 1 Oct 2003 gnome-calculator(1)