====== number Plugin ======
---- plugin ----
description: Stylized number encodings with additional tooltip for more info.
author : Vincent Tscherter
email : vincent@tscherter.net
type : syntax plugin
lastupdate : 2023-09-20
compatible :
depends :
conflicts :
similar : character
tags : formatting
downloadurl: https://github.com/tscherter/dokuwiki-plugin-number/zipball/master
bugtracker : https://github.com/tscherter/dokuwiki-plugin-number/issues
sourcerepo : https://github.com/tscherter/dokuwiki-plugin-number
donationurl:
screenshot_img : https://github.com/tscherter/dokuwiki-plugin-number/blob/main/image.png?raw=true
----
===== Installation =====
Search and install the plugin using the [[plugin:extension|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 integer
* ''12e12'' scientific notation = 12 ⋅ 1012
* ''0b100101'' binary literal
* ''0xfffff'' hexadecimal literal
* ''42_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 values
* ''12E-3'' ❌ scientific notation with negative exponent
* ''1E20'' ❌ non safe integer
=== Changelog ===
{{rss>https://github.com/tscherter/dokuwiki-plugin-number/commits/main.atom 10 date}}