Knowledge

Template:Decimal2Base

Source 📝

24: 1035: 55: 1088: 1096: 1124: 1084: 1075: 39: 1108: 1071: 495: 35: 133: 1129: 981: 574: 43: 1057: 1038: 971: 312: 176: 92:
Use: {{Decimal2Base|n|radix}} where n is the number in decimal and radix is the base you want to convert to.
1134: 126: 72: 1104: 1065: 31: 1007: 1002: 119: 892: 653: 380: 557: 466: 456: 339: 238: 8: 248: 192: 997: 986: 886: 745: 446: 268: 209: 181: 68: 1061: 976: 833: 772: 740: 596: 368: 358: 767: 756: 703: 630: 535: 512: 433: 419: 409: 347: 329: 306: 263: 233: 659: 672: 667: 648: 643: 635: 540: 402: 396: 223: 866: 808: 619: 568: 258: 243: 1118: 783: 729: 693: 564: 61: 909: 899: 850: 845: 683: 550: 545: 320: 186: 18: 1043: 855: 253: 438: 425: 111: 710: 84:
This template converts numbers from decimal to a given base.
778:
arbitrary characters/diacritics set above/below one another
451:
calculate inflation of Consumer Price Index-related prices
873: 519: 375:
long tons and hundredweights to pounds and metric tons
373:
long hundredweights, quarters and pounds to kilograms;
734:
individual italicized maths variables in normal text
441:(in hours, minutes, and seconds) to decimal degrees 1081:Editors can experiment in this template's sandbox 98:{{Decimal2Base|{{#expr: 6 * 9}}|13}} yields 42. 1116: 414:decimal degrees to degrees, minutes, and seconds 751:a line set above/below a sequence of characters 385:miles and chains to kilometres linking "chains" 152: 95:Examples: {{Decimal2Base|42|3}} yields 1120. 1125:Templates based on the BaseConvert Lua module 127: 904:measurement values, uncertainties and units 493: 678:multiline delimiters (2–5 lines inclusive) 134: 120: 21: 936: 829:(use in maths/science articles instead of 761:an arc set above a sequence of characters 688:absolute values (paired vertical lines) 1117: 935: 914:various overarrows, underarrows, etc. 611:(not for maths/science articles; use 492: 289: 151: 115: 101:{{Decimal2Base|58|16}} yields 3A. 49: 13: 708:calligraphic font; alternative to 141: 14: 1146: 401:degrees, minutes, and seconds to 1034: 1033: 813:"standing" or upright fractions 788:parentheses that can be resized 428:(in hours, minutes, and seconds) 53: 22: 290: 1130:Numerical conversion templates 1: 982:Infobox mathematical function 461:population density in an area 7: 861:subscripts and superscripts 107: 10: 1151: 1055: 591:(no calculation performed) 528:(standalone formulas only) 1109:Subpages of this template 1066:Template:Decimal2Base/doc 1029: 954: 950: 931: 698:short text-based formulas 502: 488: 296: 285: 201: 169: 165: 147: 577:; formatting indicators 363:barrels of oil to tonnes 189: (value formatting) 87: 1103:Add categories to the 891:symbol indicating the 27:Template documentation 972:arithmetic operations 615:or upright fractions 517:bigger font to match 177:elementary arithmetic 471:railway track gauges 60:This template uses 1135:Lua-based templates 424:decimal degrees to 210:#invoke:BaseConvert 69:Module:BaseConvert 1052: 1051: 1025: 1024: 1021: 1020: 1016: 1015: 927: 926: 922: 921: 918: 917: 722: 721: 484: 483: 479: 478: 475: 474: 389: 388: 311:many units (see: 281: 280: 277: 276: 82: 81: 1142: 1100: 1092: 1079: 1037: 1036: 957: 956: 952: 951: 933: 932: 880: 876: 838: 837: 828: 826: 825: 822: 819: 803: 802: 801: 798: 797: 793: 726: 725: 718: 717: 713: 660:angular brackets 636:integral symbols 624: 623: 610: 609: 605: 601:slant fractions 590: 589: 585: 580: 558:bra–ket notation 527: 526: 522: 509: 508: 505: 504: 490: 489: 393: 392: 352: 346: 334: 328: 303: 302: 299: 298: 287: 286: 167: 166: 149: 148: 136: 129: 122: 113: 112: 57: 56: 50: 47: 28: 26: 25: 1150: 1149: 1145: 1144: 1143: 1141: 1140: 1139: 1115: 1114: 1113: 1112: 1102: 1094: 1082: 1080: 1069: 1054: 1053: 1048: 1017: 1012: 1008:units attention 1003:undue precision 991: 946: 923: 878: 872: 831: 830: 823: 820: 817: 816: 814: 799: 795: 794: 791: 790: 789: 715: 714: 709: 617: 616: 607: 603: 602: 587: 583: 582: 578: 524: 523: 518: 498: 480: 403:decimal degrees 374: 350: 344: 332: 326: 292: 273: 202:Numeral systems 197: 161: 158:Numeral systems 143: 140: 110: 104: 90: 78: 54: 48: 29: 23: 12: 11: 5: 1148: 1138: 1137: 1132: 1127: 1093:and testcases 1050: 1049: 1047: 1046: 1041: 1030: 1027: 1026: 1023: 1022: 1019: 1018: 1014: 1013: 1011: 1010: 1005: 1000: 994: 992: 990: 989: 984: 979: 974: 968: 965: 964: 961: 955: 948: 947: 945: 942: 939: 929: 928: 925: 924: 920: 919: 916: 915: 912: 906: 905: 902: 896: 895: 893:end of a proof 889: 883: 882: 869: 863: 862: 859: 858: 853: 848: 841: 840: 811: 805: 804: 786: 780: 779: 776: 775: 770: 763: 762: 759: 753: 752: 749: 748: 743: 736: 735: 732: 723: 720: 719: 706: 700: 699: 696: 690: 689: 686: 680: 679: 676: 675: 670: 663: 662: 657: 656: 651: 646: 639: 638: 633: 627: 626: 599: 593: 592: 575::mw:Help:#expr 571: 561: 560: 555: 554: 553: 548: 543: 538: 530: 529: 515: 503: 500: 499: 486: 485: 482: 481: 477: 476: 473: 472: 469: 463: 462: 459: 453: 452: 449: 443: 442: 436: 430: 429: 422: 416: 415: 412: 406: 405: 399: 390: 387: 386: 383: 377: 376: 371: 365: 364: 361: 355: 354: 342: 336: 335: 323: 317: 316: 309: 297: 294: 293: 283: 282: 279: 278: 275: 274: 272: 271: 266: 261: 256: 251: 246: 241: 236: 231: 226: 221: 205: 203: 199: 198: 196: 195: 190: 184: 179: 173: 171: 163: 162: 160: 159: 156: 145: 144: 142:Math templates 139: 138: 131: 124: 116: 109: 106: 89: 86: 80: 79: 77: 76: 65: 58: 20: 19: 9: 6: 4: 3: 2: 1147: 1136: 1133: 1131: 1128: 1126: 1123: 1122: 1120: 1110: 1106: 1098: 1090: 1086: 1077: 1073: 1067: 1063: 1059: 1058:documentation 1045: 1042: 1040: 1032: 1031: 1028: 1009: 1006: 1004: 1001: 999: 996: 995: 993: 988: 985: 983: 980: 978: 975: 973: 970: 969: 967: 966: 962: 959: 958: 953: 949: 943: 940: 937: 934: 930: 913: 911: 908: 907: 903: 901: 898: 897: 894: 890: 888: 885: 884: 875: 870: 868: 865: 864: 860: 857: 854: 852: 849: 847: 844: 843: 842: 835: 812: 810: 807: 806: 787: 785: 782: 781: 777: 774: 771: 769: 766: 765: 764: 760: 758: 755: 754: 750: 747: 744: 742: 739: 738: 737: 733: 731: 728: 727: 724: 716:\mathcal{...} 712: 707: 705: 702: 701: 697: 695: 692: 691: 687: 685: 682: 681: 677: 674: 671: 669: 666: 665: 664: 661: 658: 655: 652: 650: 647: 645: 642: 641: 640: 637: 634: 632: 629: 628: 621: 614: 600: 598: 595: 594: 576: 573:calculations 572: 570: 566: 563: 562: 559: 556: 552: 549: 547: 544: 542: 539: 537: 534: 533: 532: 531: 525:\displaystyle 521: 516: 514: 511: 510: 507: 506: 501: 497: 494:Notation and 491: 487: 470: 468: 465: 464: 460: 458: 455: 454: 450: 448: 445: 444: 440: 437: 435: 432: 431: 427: 423: 421: 418: 417: 413: 411: 408: 407: 404: 400: 398: 395: 394: 391: 384: 382: 379: 378: 372: 370: 367: 366: 362: 360: 357: 356: 353:for infoboxes 349: 343: 341: 338: 337: 331: 324: 322: 319: 318: 314: 310: 308: 305: 304: 301: 300: 295: 288: 284: 270: 267: 265: 262: 260: 257: 255: 252: 250: 247: 245: 242: 240: 237: 235: 232: 230: 227: 225: 222: 219: 215: 211: 207: 206: 204: 200: 194: 191: 188: 185: 183: 180: 178: 175: 174: 172: 168: 164: 157: 154: 153: 150: 146: 137: 132: 130: 125: 123: 118: 117: 114: 105: 102: 99: 96: 93: 85: 74: 70: 67: 66: 63: 59: 52: 51: 45: 41: 37: 33: 17: 879:<math> 836:}} 832:{{ 622:}} 618:{{ 612: 381:miles-chains 351:}} 345:{{ 333:}} 327:{{ 325:abbreviated 229:decimal2Base 228: 220:}} 217: 213: 208:{{ 103: 100: 97: 94: 91: 83: 15: 1062:transcluded 1044:Module:Math 467:track gauge 457:pop density 340:convinfobox 291:Conversions 239:hexadecimal 42:] [ 38:] [ 34:] [ 1119:Categories 1056:The above 496:formatting 439:hour angle 426:hour angle 249:quaternary 193:percentage 1107:subpage. 998:metricate 987:functions 887:tombstone 746:underline 447:inflation 269:vigesimal 182:precision 170:Functions 155:Functions 1039:Category 977:calculus 834:fraction 773:underset 741:overline 625:instead) 613:standing 597:fraction 369:long ton 359:bbl to t 108:See also 1087:| 1076:history 1074:| 944:Notices 827:⁠ 815:⁠ 768:overset 757:overarc 704:mathcal 631:intmath 606:⁄ 536:bra-ket 513:bigmath 434:hms2deg 420:deg2hms 410:deg2dms 348:convert 330:convert 307:convert 264:ternary 234:hex2dec 73:sandbox 40:history 16:{{{1}}} 1101:pages. 1097:create 1089:mirror 1085:create 673:rdelim 668:ldelim 649:rangle 644:langle 579:⌈3.14⌉ 541:braket 397:decdeg 224:binary 1064:from 960:Boxes 938:Boxes 871:Wrap 867:tmath 809:sfrac 711:LaTeX 654:angbr 620:sfrac 569:floor 259:roman 244:octal 88:Usage 46:] 44:purge 30:[ 1105:/doc 1072:edit 963:Tags 941:Tags 881:tags 784:pars 730:mvar 694:math 586:3.14 565:ceil 313:list 36:edit 32:view 1060:is 910:vec 900:val 877:in 874:TeX 851:sup 846:sub 684:abs 551:ket 546:bra 520:TeX 321:cvt 187:val 62:Lua 1121:: 1068:. 856:su 581:, 567:, 254:rn 216:to 64:: 1111:. 1099:) 1095:( 1091:) 1083:( 1078:) 1070:( 839:) 824:5 821:/ 818:3 800:) 796:∑ 792:( 608:5 604:3 588:⌋ 584:⌊ 315:) 218:Y 214:X 212:| 135:e 128:t 121:v 75:) 71:(

Index

view
edit
history
purge
Lua
Module:BaseConvert
sandbox
v
t
e
elementary arithmetic
precision
val
percentage
#invoke:BaseConvert
binary
decimal2Base
hex2dec
hexadecimal
octal
quaternary
rn
roman
ternary
vigesimal
convert
list
cvt
convert
convinfobox

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.