Sign()

Category: Number

Syntax: Sign ( number )


Parameters:

numberAny expression that resolves to a numeric value.

Data type returned: Text

Description:

Returns a value that represents the sign of number:

-1 when number is negative

0 when number is zero

1 when number is positive

For any x other than 0, multiplying x by Sign(x) yields the Abs(x).

Examples:

Function

Results

Sign (0)

Returns 0.

Sign (100)

Returns 1.

Sign( -100)

Returns -1 for the formula If (Sign (BalanceDue) = -1; "Please pay now!"; "Thanks for your payment!").




: FileMaker Specifications

FileMaker 8 Product Line

Specifications and Storage Limits

Field Types and Import/Export Formats

: Calculation Functions

Working with Calculations Primer

Calculation Signatures

Calculation Functions

: Custom Functions

Custom Functions Primer

Useful Custom Functions

: Script Steps

Scripting Primer

Script Step Reference

: Quick Reference

FileMaker Error Codes

FileMaker Keyboard Shortcuts

FileMaker Network Ports

FileMaker Server Command Line Reference

FileMaker XML Reference

: Other Resources

Where to Go for More Information



FileMaker 8 Functions and Scripts Desk Reference
FileMaker 8 Functions and Scripts Desk Reference
ISBN: 0789735113
EAN: 2147483647
Year: 2004
Pages: 352

Flylib.com © 2008-2020.
If you may any questions please contact us: flylib@qtcs.net