Difference between revisions of "RANK()"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
Yvonne.milne (Talk | contribs) |
||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
Function to convert an ASCII character to a number | Function to convert an ASCII character to a number | ||
− | |||
==Syntax== | ==Syntax== | ||
RANK(<expC>) | RANK(<expC>) | ||
− | |||
==See Also== | ==See Also== | ||
[[ASC()]], [[ASCII Chart]], [[ATOH()]], [[CHR()]], [[HTOA()]], [[LEFT()]], [[RIGHT()]], [[STR()]], [[SUBSTR()]], [[VAL()]] | [[ASC()]], [[ASCII Chart]], [[ATOH()]], [[CHR()]], [[HTOA()]], [[LEFT()]], [[RIGHT()]], [[STR()]], [[SUBSTR()]], [[VAL()]] | ||
− | |||
==Description== | ==Description== | ||
The RANK() function returns the numeric value of the first ASCII character from the character expression <expC>. | The RANK() function returns the numeric value of the first ASCII character from the character expression <expC>. | ||
− | |||
==Example== | ==Example== | ||
Line 27: | Line 23: | ||
</code> | </code> | ||
− | |||
− | |||
− | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Expressions and Type Conversion]] | [[Category:Expressions and Type Conversion]] | ||
[[Category:Expressions and Type Conversion Functions]] | [[Category:Expressions and Type Conversion Functions]] |
Revision as of 09:48, 10 February 2012
Contents
Purpose
Function to convert an ASCII character to a number
Syntax
RANK(<expC>)
See Also
ASC(), ASCII Chart, ATOH(), CHR(), HTOA(), LEFT(), RIGHT(), STR(), SUBSTR(), VAL()
Description
The RANK() function returns the numeric value of the first ASCII character from the character expression <expC>.
Example
? rank("123") 49 ? rank ("Newcastle") 78 nVar = rank ("Newcastle") 78 ? type("nVar") N