Skip to content

Formatting_Options

Nat! edited this page Mar 1, 2023 · 3 revisions

Example 1

{%
   [NSDateFormatter setDefaultFormatterBehavior:1000]
   [NSNumberFormatter setDefaultFormatterBehavior:1000]

   MulleScionDateFormat = @"--%y/%m/%d--"
%}
{{ [NSDate date] }}

Output:

--23/03/01--

Example 2

{% MulleScionNumberFormat = @"#0.00" %}
{{ [NSNumber numberWithDouble:0.1234] }}

Output:

0.1234
Clone this wiki locally