Please remember to make use of the DML Wiki Manual of Style and Code of Conduct during your stay.

 Actions

Help

Help:Dplnum

From Dragon Mania Legends (DML) Wiki

Manual dplnum


This module tries to guess a number that is buried in text, using a set of heuristic rules which may work or not. The idea is to extract the number, so it can be used as a sorting value in the column of a DPL table output.

Syntax

{{#dplnum:text}} where text is a number within some text.

Examples

The examples below are numbered for easier readability and comparison of their output.

1. {{#dplnum:this is 4711 a text with a number}}
2. {{#dplnum:well above 47 Mio. US$}}
3. {{#dplnum:13 Mrd}}
4. {{#dplnum:it is 47,123 Mio}}
5. {{#dplnum:it is 47.123,56}}
6. {{#dplnum:it is 47,000}}
7. {{#dplnum:it is 4.13}}
8. {{#dplnum:it is 4,13}}
9. {{#dplnum:it is 0,13}}
This Wiki is created by players for other players and is not maintained by, or affiliated with, the game maker (Gameloft).
Cookies help us deliver our services. By using our services, you agree to our use of cookies.