plugin:number
Table of Contents
number Plugin
Compatible with DokuWiki
No compatibility info given!
Similar to character
Installation
Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.
Syntax
Basic syntax:
{{n>12}}
will provide you with a nicely formatted number and additional tooltip
Supported number formats; only positive safe integers < 9223372036854775807 are supported :
12
standard positive integer12e12
scientific notation = 12 ⋅ 10120b100101
binary literal0xfffff
hexadecimal literal42_5
p-adic number in any base from 2 to 36, see image above
Not (yet) supported number formats
12.34
❌ floating point-123
❌ negative values12E-3
❌ scientific notation with negative exponent1E20
❌ non safe integer
Changelog
- switch from 9223372036854775807 to PHP_INT_MAX (2023-09-20 22:00)
- minor fixes (2023-09-20 21:05)
- manager.dat removed (2023-09-20 18:35)
- set date to 2023-09-20 (2023-09-20 11:05)
- fixed conversion bugs (2023-09-20 11:04)
- relase date fixed (2023-09-19 13:32)
- fixing css (2023-09-19 11:26)
- allow leading 0 for bin and hex (2023-09-19 11:21)
- fixed css (2023-09-19 10:49)
- rename readme and formating image (2023-09-19 10:25)
plugin/number.txt · Last modified: 2023-10-03 22:19 by tscherter