[formatter] implement 'A' format specifier (#6036)
This commit is contained in:
@@ -202,6 +202,12 @@ Format specifiers can be used for advanced formatting by using the options provi
|
||||
<td><code>{foo:Ro/()/}</code></td>
|
||||
<td><code>F()() Bar</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>A<op><value>/</code></td>
|
||||
<td>Apply arithmetic operation <code><op></code> (<code>+</code>, <code>-</code>, <code>*</code>) to the current value</td>
|
||||
<td><code>{num:A+1/}</code></td>
|
||||
<td><code>"2"</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>C<conversion(s)>/</code></td>
|
||||
<td>Apply <a href="#conversions">Conversions</a> to the current value</td>
|
||||
|
||||
Reference in New Issue
Block a user