/ (division)

Tinderbox Icon


Operator Type:   Operator
Operator Scope of Action:   Item
Operator Purpose:   Mathematical

The division operator, / (forward slash character), returns the argument before it divided by the argument after it.

$MyNumber = 3/4 

By default, up to 5 decimal places are returned, so:

$MyNumber = 10/3 

results in $MyNumber having a value of 3.33333.

Be aware the forward slash character has many other symbolic meanings (POSIX folder delimiter, linguistic use e.g. 'and/or', date component delimiters, etc.). Be careful to ensure to quote or escape the / character where you do not want Tinderbox to assume a division.


Possible relevant notes (via "Similar Notes" feature):

Up: Item-based operators

A Tinderbox Reference File : Actions & Rules : Operators : Action Operator Scope : Item-based operators : / (division)

Quicklinks: Attributes | Action Codes | Export Codes | Designators | Date Formats | aTbRef Site Map

[Last updated: 16 May 2012, using v5.11.1]


Search:

Google search aTbRef for:  


Creative Commons Licence

aTbRef by Mark Anderson is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

[See aTbRef CC licence Attribution & Waiver info]

Made with Tinderbox