Scanf
The scanf tag can be used to process data from the input
attribute and parse/extract different elements from this
property while following the syntax of the scanf function found
in the C programming language.
One thing to note that is important with scanf is that it will
read exactly what you tell it, so if you say read back "%2.2f"
it will try to read back a float that has 2 digits in the whole
part of the number and two fractional digits. So be aware
because it wont' consume any extra digits or do any type of
conversion.
Usage Examples
Example #1
<scanf args="float,int,hex" format="%.2f some text %5d %04x" input="2.12 some text 00001 000a" />
Example #2
<scanf args="float,hex" format="%.2f %x" input="12.3456789 0x" />