Difference between revisions of "Message"
→Examples: I think it makes more sense to have the code in codeboxes and the message in plaintext (care was taken to preserve spaces in the plaintext, though they are somewhat difficult to see)
imported>DragoonWraith (revert unintended edit) |
imported>DragoonWraith (→Examples: I think it makes more sense to have the code in codeboxes and the message in plaintext (care was taken to preserve spaces in the plaintext, though they are somewhat difficult to see)) |
||
Line 23: | Line 23: | ||
===Examples=== | ===Examples=== | ||
Message "Var1:% 5.2f / Var2:% 5.2f" | |||
'''"Var1: 123.45 / Var2: -123.45"''' | |||
---- | |||
Message "Var1:%05.2f / Var2:%05.2f" | |||
'''"Var1: 00123.45 / Var2:-00123.45"''' | |||
---- | |||
Message "Var1:%+-5.0f / Var2:%+-5.0f" | |||
'''"Var1:+123 / Var2:-123 "''' | |||
---- | |||
Message "Var1:% .3e / Var2:% .3e | |||
'''"Var1: 1.234E+2 / Var2:-1.234E+2"''' | |||
==See Also== | ==See Also== |