Template:Binary/doc
Jump to navigation
Jump to search
Script error: No such module "Message box". Template:Lua This template is for quickly converting a decimal number to binary.
Usage
Use Template:Tlc where x is the decimal number and y is the decimal precision (positive numbers, defaults displays up to 10 digits following the binary point).
Examples:
| Code | Result | Notes |
|---|---|---|
| Template:Tlc | Script error: No such module "BaseConvert". | Regular integer |
| Template:Tlc | Script error: No such module "BaseConvert". | Truncated decimal |
| Template:Tlc | Script error: No such module "BaseConvert". | Truncated at decimal point |
| Template:Tlc | Script error: No such module "BaseConvert". | Decimals padded to integer |
| Template:Tlc | Script error: No such module "BaseConvert". | Auto truncation |
| Template:Tlc | Script error: No such module "BaseConvert". | Decimals padded |
| Template:Tlc | Script error: No such module "BaseConvert". | Expression support |