add_float


Description:

public void add_float (string? id, double val, int precision)

dump float value val to an attribute named id or as the nodes content with precision precision.

The number will be formattted according to the "C" locale.

Parameters:

this

XMLOut

id

tag id, or null for node content

val

the value

precision

the number of significant digits to use, -1 meaning "enough".