You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
240 B
14 lines
240 B
7 months ago
|
BEGIN {
|
||
|
OFMT = ">>%.6g<<"
|
||
|
a = 12.1234
|
||
|
print "a =", a
|
||
|
b = a ""
|
||
|
print "1 ->", b
|
||
|
CONVFMT = "%2.2f"
|
||
|
b = a ""
|
||
|
print "2 ->", b
|
||
|
CONVFMT = "%.12g"
|
||
|
b = a ""
|
||
|
print "3 ->", b
|
||
|
}
|