Revision history for KeyPgInt


Revision [21608]

Last edited on 2016-10-29 05:14:18 by fxm [Removed the syntaxes not true for 64-bit]
Deletions:
[[KeyPgDeclare|declare]] [[KeyPgFunction|function]] **Int** ( [[KeyPgByval|byval]] //number// [[KeyPgAs|as]] [[KeyPgLongint|longint]] ) [[KeyPgAs|as]] [[KeyPgLongint|longint]]
[[KeyPgDeclare|declare]] [[KeyPgFunction|function]] **Int** ( [[KeyPgByval|byval]] //number// [[KeyPgAs|as]] [[KeyPgUlongint|ulongint]] ) [[KeyPgAs|as]] [[KeyPgUlongint|ulongint]]


Revision [20953]

Edited on 2016-03-13 03:50:09 by fxm [Formatting]
Additions:


Revision [20281]

Edited on 2016-02-10 16:01:39 by DkLwikki [Update link format]
Additions:
[[KeyPgDeclare|declare]] [[KeyPgFunction|function]] **Int** ( [[KeyPgByval|byval]] //number// [[KeyPgAs|as]] [[KeyPgSingle|single]] ) [[KeyPgAs|as]] [[KeyPgSingle|single]]
[[KeyPgDeclare|declare]] [[KeyPgFunction|function]] **Int** ( [[KeyPgByval|byval]] //number// [[KeyPgAs|as]] [[KeyPgDouble|double]] ) [[KeyPgAs|as]] [[KeyPgDouble|double]]
[[KeyPgDeclare|declare]] [[KeyPgFunction|function]] **Int** ( [[KeyPgByval|byval]] //number// [[KeyPgAs|as]] [[KeyPgInteger|integer]] ) [[KeyPgAs|as]] [[KeyPgInteger|integer]]
[[KeyPgDeclare|declare]] [[KeyPgFunction|function]] **Int** ( [[KeyPgByval|byval]] //number// [[KeyPgAs|as]] [[KeyPgUinteger|uinteger]] ) [[KeyPgAs|as]] [[KeyPgUinteger|uinteger]]
[[KeyPgDeclare|declare]] [[KeyPgFunction|function]] **Int** ( [[KeyPgByval|byval]] //number// [[KeyPgAs|as]] [[KeyPgLongint|longint]] ) [[KeyPgAs|as]] [[KeyPgLongint|longint]]
[[KeyPgDeclare|declare]] [[KeyPgFunction|function]] **Int** ( [[KeyPgByval|byval]] //number// [[KeyPgAs|as]] [[KeyPgUlongint|ulongint]] ) [[KeyPgAs|as]] [[KeyPgUlongint|ulongint]]
The ##**Int**## unary ##[[KeyPgOperator|operator]]## can be overloaded with user defined types.
- In the //[[CompilerOptlang|-lang qb]]// dialect, this operator cannot be overloaded.
- ##[[KeyPgFix|Fix]]##
- ##[[KeyPgCint|Cint]]##
- ##[[KeyPgOperator|Operator]]##
Deletions:
[[KeyPgDeclare declare]] [[KeyPgFunction function]] **Int** ( [[KeyPgByval byval]] //number// [[KeyPgAs as]] [[KeyPgSingle single]] ) [[KeyPgAs as]] [[KeyPgSingle single]]
[[KeyPgDeclare declare]] [[KeyPgFunction function]] **Int** ( [[KeyPgByval byval]] //number// [[KeyPgAs as]] [[KeyPgDouble double]] ) [[KeyPgAs as]] [[KeyPgDouble double]]
[[KeyPgDeclare declare]] [[KeyPgFunction function]] **Int** ( [[KeyPgByval byval]] //number// [[KeyPgAs as]] [[KeyPgInteger integer]] ) [[KeyPgAs as]] [[KeyPgInteger integer]]
[[KeyPgDeclare declare]] [[KeyPgFunction function]] **Int** ( [[KeyPgByval byval]] //number// [[KeyPgAs as]] [[KeyPgUinteger uinteger]] ) [[KeyPgAs as]] [[KeyPgUinteger uinteger]]
[[KeyPgDeclare declare]] [[KeyPgFunction function]] **Int** ( [[KeyPgByval byval]] //number// [[KeyPgAs as]] [[KeyPgLongint longint]] ) [[KeyPgAs as]] [[KeyPgLongint longint]]
[[KeyPgDeclare declare]] [[KeyPgFunction function]] **Int** ( [[KeyPgByval byval]] //number// [[KeyPgAs as]] [[KeyPgUlongint ulongint]] ) [[KeyPgAs as]] [[KeyPgUlongint ulongint]]
The ##**Int**## unary ##[[KeyPgOperator operator]]## can be overloaded with user defined types.
- In the //[[CompilerOptlang -lang qb]]// dialect, this operator cannot be overloaded.
- ##[[KeyPgFix Fix]]##
- ##[[KeyPgCint Cint]]##
- ##[[KeyPgOperator Operator]]##


Revision [17510]

Edited on 2015-04-01 12:06:09 by DkLwikki [Add int(single) overload]
Additions:
[[KeyPgDeclare declare]] [[KeyPgFunction function]] **Int** ( [[KeyPgByval byval]] //number// [[KeyPgAs as]] [[KeyPgSingle single]] ) [[KeyPgAs as]] [[KeyPgSingle single]]


Revision [17111]

Edited on 2014-06-25 14:37:55 by CountingPine [Missing '/']
Additions:
##**Int**## returns the floor of ##//number//##. For example, ##**Int**(4.9)## will return ##4.0##, and ##**Int**(-1.3)## will return ##-2.0##. For integer types, the number is returned unchanged.
Deletions:
##**Int**## returns the floor of ##/number//##. For example, ##**Int**(4.9)## will return ##4.0##, and ##**Int**(-1.3)## will return ##-2.0##. For integer types, the number is returned unchanged.


Revision [17106]

Edited on 2014-06-25 14:08:00 by CountingPine [Integer overloads for Int]
Additions:
[[KeyPgDeclare declare]] [[KeyPgFunction function]] **Int** ( [[KeyPgByval byval]] //number// [[KeyPgAs as]] [[KeyPgInteger integer]] ) [[KeyPgAs as]] [[KeyPgInteger integer]]
[[KeyPgDeclare declare]] [[KeyPgFunction function]] **Int** ( [[KeyPgByval byval]] //number// [[KeyPgAs as]] [[KeyPgUinteger uinteger]] ) [[KeyPgAs as]] [[KeyPgUinteger uinteger]]
[[KeyPgDeclare declare]] [[KeyPgFunction function]] **Int** ( [[KeyPgByval byval]] //number// [[KeyPgAs as]] [[KeyPgLongint longint]] ) [[KeyPgAs as]] [[KeyPgLongint longint]]
[[KeyPgDeclare declare]] [[KeyPgFunction function]] **Int** ( [[KeyPgByval byval]] //number// [[KeyPgAs as]] [[KeyPgUlongint ulongint]] ) [[KeyPgAs as]] [[KeyPgUlongint ulongint]]
##**Int**## returns the floor of ##/number//##. For example, ##**Int**(4.9)## will return ##4.0##, and ##**Int**(-1.3)## will return ##-2.0##. For integer types, the number is returned unchanged.
Deletions:
##**Int**## returns the floor of ##/number//##. For example, ##**Int**(4.9)## will return ##4.0##, and ##**Int**(-1.3)## will return ##-2.0##.


Revision [16937]

Edited on 2013-09-01 20:15:05 by CountingPine [x -> number]
Additions:
##**Int**## returns the floor of ##/number//##. For example, ##**Int**(4.9)## will return ##4.0##, and ##**Int**(-1.3)## will return ##-2.0##.
Deletions:
##**Int**## returns the floor of x. For example, ##**Int**(4.9)## will return ##4.0##, and ##**Int**(-1.3)## will return ##-2.0##.


Revision [14025]

Edited on 2008-12-13 12:54:38 by LaananFisher [Updated: minor formatting]
Additions:
//result// = **Int**( //number// )
Deletions:
//result// = **Int** ( //number// )


Revision [13755]

Edited on 2008-09-30 18:08:28 by CountingPine [Int returns the Floor]
Additions:
Returns the floor of a number
Returns the floor of ##//number//##, i.e. the largest integer that is less than or equal to it.
Deletions:
Returns the integer part of a number
Returns the floor of x, i.e. the largest integer less than or equal to the input.


Revision [13754]

Edited on 2008-09-30 16:53:19 by CountingPine [Int takes the Floor]
Additions:
the floating-point number to round
Returns the floor of x, i.e. the largest integer less than or equal to the input.
##**Int**## returns the floor of x. For example, ##**Int**(4.9)## will return ##4.0##, and ##**Int**(-1.3)## will return ##-2.0##.
Deletions:
the number
Returns the largest integer less than or equal to the input.
For example, ##Int(4.9)## will return ##4.0##, and ##Int(-1.3)## will return ##-2.0##


Revision [12341]

The oldest known version of this page was created on 2008-01-18 14:15:59 by JeffMarshall [Int takes the Floor]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki



sf.net phatcode