File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ This mean that:
205205- 1000 Bytes = 1 KB
206206- 1024 Bytes = 1 KiB
207207
208- ::: info Added in version 5.4.0
208+ ::: info Modified in version 5.4.0
209209It is now possible to use the byte units defined by the ISO/IEC 80000-13
210210standard alongside more natural decimal units.
211211:::
@@ -221,6 +221,11 @@ need to pass the boolean parameter to `Cake\I18n\Number::toReadableSize()` when
221221switching between decimal units and IEC units. If ` $useIec ` is defined as true,
222222IEC units will be employed; otherwise, decimal units will be used.
223223
224+ ::: info Added in version 5.4.0
225+ This method has been added to remove the need to pass the optionnal boolean argument
226+ each time IEC units are needed.
227+ :::
228+
224229## Formatting Numbers
225230
226231### Number::format()
You can’t perform that action at this time.
0 commit comments