Filemaker Pro 8.5 Educational Maintenance T1 TJ086LL/A Manual Do Utilizador
Códigos do produto
TJ086LL/A
Chapter 12
|
Text functions 167
Data type returned
number
Description
Returns only the numbers in text, as data type number, for use with
involving
numbers or numeric functions. The GetAsNumber function drops all non-numeric
characters from text.
Examples
GetAsNumber(“FY98”) returns
98
.
GetAsNumber(“$1,254.50”) returns
1254.5
.
GetAsNumber(“2 + 2”) returns
22
.
GetAsNumber(SerialNumber) returns
35684
, when the value of SerialNumber is
TKV35FRG6HH84.
GetAsSVG
Format
GetAsSVG(text)
Parameter
text - any
Data type returned
text
Description
Returns text, converted to the SVG (Scalable Vector Graphics) format, an Internet text
format similar to
or CSS. SVG supports more text formats than HTML, so SVG will
represent what you have typed more accurately.
Example
GetAsSVG(text) returns the example result (below) when the field text contains the
word “Frank” and the word Frank has the following text attributes: Font = Helvetica, Font
Size = 12 points, Font Color = red, Font Style = bold.
Example result:
Size = 12 points, Font Color = red, Font Style = bold.
Example result:
<StyleList>
<Style#0>”font-family: ‘Helvetica’;font-size: 12px;color:
#FF0000;font-weight: bold;text-align: left;”,
Begin: 1, End: 5</Style>
<Style#0>”font-family: ‘Helvetica’;font-size: 12px;color:
#FF0000;font-weight: bold;text-align: left;”,
Begin: 1, End: 5</Style>