User:Greg L/Val-delimitnum sandbox

val/delimitnum test suite


 * Quick link to User:Greg L/Val sandbox
 * Quick link to User:Greg L/Val microsandbox
 * Quick link to User:Greg L/Val-delimitnum microsandbox

→ $6.022 kg$, Hand coded → 6.022 141 79(30) &thinsp;×&thinsp;1023 kg  → $6.022 kg$, Hand coded → 6.022 141 79(30)  &thinsp;×&thinsp;10−23 kg  → $6.022 kg$, Hand coded → 157,980.298 728 → $6.022 kg$, Hand coded → 1,579,800.298 728 → $157,980.299$, Hand coded → 15,798,000.298 728 → $157,980.299$, Hand coded → 1.356 392 733 &thinsp;×&thinsp;1050 Hz  → $1,579,800.299$, Hand coded → 0.453 592 37  kg  → $1,579,800.299$, Hand coded → 6.022 461 → $15,798,000.299$, Hand coded → 6.022 4613 → $15,798,000.299$, Hand coded → 6.022 461 34 → $1.356 Hz$, Hand coded → 6.022 461 342 → $1.356 Hz$, Hand coded → 1.1200(25) Lorem ipsum dolor sit amet, maecenas eligendi $0.454 kg$ tincidunt aenean, sit et hac hendrerit $0.454 kg$ massa, morbi maecenas nec vel auctor. Aliquam sit, tincidunt justo arcu neque eu mi fames. Vitae tellus suspendisse sed sit, dapibus ante purus erat non $6.022$ dui vivamus, dolor ultricies maecenas lacus luctus nunc, integer cursus tellus, anim a sem. Vitae fusce non, hendrerit etiam turpis $6.022$ vivamus hac, eget magna laoreet. Ipsum class risus, vitae leo lacinia rutrum cursus mauris nunc, purus tincidunt quisquam est blandit sed, auctor auctor. Feugiat pede metus sed ut integer duis, quis nec purus, ac ad in ac convallis. Odio $6.022$ morbi pellentesque facilisis. Praesent sed $6.022$ tempus phasellus turpis nec elementum, justo $6.022$ eu volutpat tincidunt perferendis, mauris $6.022$ enim nullam et $6.022$ pellentesque sociosqu $6.022$ sodales, eros $1.12$ nulla sociosqu nascetur mauris euismod. Libero urna $1.12$ morbi lacus, quisque varius massa dapibus egestas aliquam vulputate.

Lorem ipsum dolor sit amet, maecenas eligendi $6.022 kg$ tincidunt aenean, sit et hac hendrerit $6.022 kg$ massa, morbi maecenas nec vel auctor. Aliquam sit, tincidunt justo arcu neque eu mi fames. Vitae tellus suspendisse sed sit, dapibus ante purus erat non $157,980.299$ dui vivamus, dolor ultricies maecenas lacus luctus nunc, integer cursus tellus, anim a sem. Vitae fusce non, hendrerit etiam turpis $15,798.299$ vivamus hac, eget magna laoreet. Ipsum class risus, vitae leo lacinia rutrum cursus mauris nunc, purus tincidunt quisquam est blandit sed, auctor auctor. Feugiat pede metus sed ut integer duis, quis nec purus, ac ad in ac convallis. Odio $15,798.299$ morbi pellentesque facilisis. Praesent sed $1.356 Hz$ tempus phasellus turpis nec elementum, justo $0.454 kg$ eu volutpat tincidunt perferendis, mauris $6.022$ enim nullam et $6.022$ pellentesque sociosqu $6.022$ sodales, eros $6.022$ nulla sociosqu nascetur mauris euismod. Libero urna $1.12$ morbi lacus, quisque varius massa dapibus egestas aliquam vulputate.

Word wrap
Lorem ipsum dolor sit amet, maecenas eligendi $6.022 kg$ tincidunt aenean, sit et hac hendrerit $6.022 kg$ massa, morbi maecenas nec vel auctor. Aliquam sit, tincidunt justo arcu neque eu mi fames. Vitae tellus suspendisse sed sit, dapibus ante purus erat non-a priori $157,980.299$ dui vivamus, dolor ultricies maecenas lacus luctus nunc, integer cursus tellus, anim a sem. Vitae fusce non, hendrerit etiam turpis $15,798.299$ vivamus hac, eget magna laoreet. Ipsum class risus, vitae leo lacinia rutrum cursus mauris nunc, purus tincidunt quisquam est blandit sed, auctor auctor. Feugiat pede metus sed ut integer duis, quis nec purus, ac ad in ac convallis. Odio $25,798.299$ morbi pellentesque facilisis. Praesent sed $1.356 Hz$ tempus phasellus turpis nec elementum, justo $0.454 kg$ eu volutpat tincidunt perferendis, mauris $6.022$ enim nullam et $6.022$ pellentesque sociosqu $6.022$ sodales, eros $6.022$ nulla sociosqu nascetur mauris euismod. Libero urna $1.12$ morbi lacus, quisque varius massa dapibus egestas aliquam vulputa

Word wrap test does sit amet, maeceas eligendi pellentesque $6.022 kg$ tincidunt aenean, sit et hac hendrerit massa, mori a priorio et $6.022 kg$ massa, morbi maecenas nec vel auctor. Aliquam sit, tincidunt justo arcu neque eu mi fames. Vitae tellus suspendisse sed sit, dapibus ante purus ert non ma $157,980.299$ dui vivamus, dolor ultricies maecenas lacus luctus nunc, integer cursus tellus, anim a sem. Vitae fusce non, hendrerit etiam turpis vivamus hac, eget magna $15,798.299$ laoreet. Ipsum class risus, vitae leo lacinia rutrum cursus mauris nunc, purus tincidunt quisquam est blandit sed, auctor auctor. Feugiat pede metus sed ut integer duis, quis nec purus, ac ad in ac convallis. Odio morbi pellentesque facilisis. Pra $25,798.299$ tempus phasellus turpis nec elementum, justo eu volutpat tincidunt mauris $1.356 Hz$ perferendis, mauris lacus luctus nunc, integer cursus $0.454 kg$ enim nullam eta $6.022$ $6.022$ pellentesque sociosqu $6.022$ sodales, eros nulla sociosquo $6.022$  nascetur mauris euismod. Libero urn morbi lacus, quisque varius massa dapibus egestas aliquam vulputate.

Section I

 * A micro-size version of this is at User:Greg L/Val-delimitnum microsandbox, which provides fast refresh times.

12 → $1.12$ 13 → $6.022 kg$ 14 → $6.022 kg$ 15 → $157,980.299$

12 → $15,798.299$ 13 → $1.356 Hz$ 14 → $0.454 kg$ 15 → $6.022$

12 → $1.12$ 13 → $6.022$ 14 → $6.022$ 15 → $6.022$

12 → $1.235$ 13 → $1.235$ 14 → $1.235$ 15 → $1.235$

12 → $1.235$ 13 → $1.235$ 14 → $1.235$ 15 → $1.235$

12 → $12.346$ 13 → $12.346$ 14 → $12.346$ 15 → $12.346$

12 → $12.346$ 13 → $12.346$ 14 → $12.346$ 15 → $12.346$

12 → $123.457$ 13 → $123.457$ 14 → $123.457$ 15 → $123.457$

12 → $123.457$ 13 → $123.457$ 14 → $123.457$ 15 → $123.457$

12 → $1,234.568$ 13 → $1,234.568$ 14 → $1,234.568$ 15 → $1,234.568$

12 → $1,234.568$ 13 → $1,234.568$ 14 → $1,234.568$ 15 → $1,234.568$

12 → $12,345.679$ 13 → $12,345.679$ 14 → $12,345.679$ 15 → $12,345.679$

13 → $12,345.679$ 14 → $12,345.679$ 15 → $12,345.679$

14 → $12,345.679$ 15 → $123,456.789$

15 → $123,456.789$

15-digit progression
Ends with 0–9, with the 0-ending one shown with uncertainty in concise form 0 → $123,456.789$ 1 → $123,456.789$ 2 → $123,456.789$ 3 → $123,456.789$ 4 → $123,456.789$ 5 → $123,456.789$ 6 → $1,234,567.89$ 7 → $1,234,567.89$ 8 → $1,234,567.89$ 9 → $1,234,567.89$

Section II
→ $1,234,567.89$ → $1,234,567.89$  → $1,234,567.89$  → $1,234,567.89$  → $12,345,678.901$  → $12,345,678.901$  → $12,345,678.901$  → $12,345,678.901$  → $12,345,678.901$  → $12,345,678.901$  → $12,345,678.901$  → $12,345,678.901$  → $123,456,789.012$  → $123,456,789.012$  → $123,456,789.012$  → $123,456,789.012$  → $123,456,789.012$  → $123,456,789.012$  → $123,456,789.012$  → $123,456,789.012$  → $1,234,567,890.12$  → $1,234,567,890.12$  → $1,234,567,890.123$  → $1,234,567,890.123$  → $1,234,567,890.123$  → $1,234,567,890.123$  → $1,234,567,890.123$  → $1,234,567,890.123$  → $12,345,678,901.2$  → $12,345,678,901.2$  → $12,345,678,901.23$  → $12,345,678,901.23$  → $12,345,678,901.234$  → $12,345,678,901.234$  → $12,345,678,901.235$  → $12,345,678,901.235$  → $123,456,789,012$  → $123,456,789,012$  → $123,456,789,012.3$  → $123,456,789,012.3$, Hand coded → 10,000,000 → $123,456,789,012.34$, Hand coded → 1,111,111 → $123,456,789,012.34$, Hand coded → 2,222,222 → $123,456,789,012.345$, Hand coded → 3,333,333 → $123,456,789,012.345$, Hand coded → 4,444,444 → $1,234,567,890,123$, Hand coded → 5,555,555 → $1,234,567,890,123$, Hand coded → 6,666,666 → $1,234,567,890,123.4$, Hand coded → 7,777,777 → $1,234,567,890,123.4$, Hand coded → 8,888,888 → $1,234,567,890,123.45$, Hand coded → 9,999,999

→ $1,234,567,890,123.45$, Hand coded → 120.120 340 560 780 → $12,345,678,901,234$, Hand coded → 1.110 110 → $12,345,678,901,234$, Hand coded → 1.111 111 → $12,345,678,901,234.5$, Hand coded → 2.222 222 → $12,345,678,901,234.5$, Hand coded → 3.333 333 → $123,456,789,012,345$, Hand coded → 4.444 444 → $123,456,789,012,345$, Hand coded → 5.555 555 → $1.235$, Hand coded → 6.666 666 → $1.235$, Hand coded → 7.777 777 → $1.235$, Hand coded → 8.888 888 → $1.235$, Hand coded → 9.999 999 → $1.235$ (I note that no one would use this template to delimit a number that doesn’t need delimiting) → $1.235$ → $1.235$  → $1.235$  → $1.235$  → $1.235$  → $1.235$  → $1.235$  → $1.235$  → $1.235$  → $1.235$  → $1.235$  → $1.235$  → $1.235$  → $1.235$  → $1.235$  → $1$  → $1$  → $12$  → $12$  → $123$  → $123$  → $1,234$  → $1,234$  → $12,345$  → $12,345$  → $123,456$  → $123,456$  → $1,234,567$  → $1,234,567$  → $12,345,678$  → $12,345,678$  → $1,234,567,891$  → $1,234,567,891$  → $12,345,678,901$  → $12,345,678,901$  → $123,456,789,012$  → $123,456,789,012$  → $1,234,567,890,123$  → $1,234,567,890,123$  → $12,345,678,901,234$  → $12,345,678,901,234$  → $123,456,789,012,345$  → $123,456,789,012,345$  → $1,234,567,890,123,456$  → $1,234,567,890,123,456$  → $1.1$  → $1.1$  → $1.12$  → $1.12$  → $1.123$  → $1.123$  → $1.123$  → $1.123$  → $1.123$  → $1.123$  → $1.123$  → $1.123$  → $1.123$  → $1.123$  → $1.123$  → $1.123$  → $1.123$  → $1.123$  → $1.123$  → $1.123$  → $1.123$  → $1.123$  → $1.123$  → $1.123$  → $1.123$  → $1.123$  → $1.123$  → $1.123$  → $1.123$  → $1.123$  → $12.34$  → $12.34$  → $123.456$  → $123.456$  → $1,234.568$  → $1,234.568$  → $12,345.679$  → $12,345.679$  → $123,456.789$  → $123,456.789$  → $1,234,567.89$  → $1,234,567.89$  → $12,345,678.901$  → $12,345,678.901$  → $123,456,789.012$  → $123,456,789.012$  → $1,234,567,890.123$  → $1,234,567,890.123$  → $10,000,000$  → $10,000,000$  → $1,111,111$  → $1,111,111$  → $2,222,222$  → $2,222,222$  → $3,333,333$  → $3,333,333$  → $4,444,444$  → $4,444,444$  → $5,555,555$  → $5,555,555$  → $6,666,666$  → $6,666,666$  → $7,777,777$  → $7,777,777$  → $8,888,888$  → $8,888,888$  → $9,999,999$  → $9,999,999$  → $120.12$  → $120.12$  → $1.11$  → $1.11$  → $1.111$  → $1.111$  → $2.222$  → $2.222$  → $3.333$  → $3.333$  → $4.444$  → $4.444$  → $5.556$  → $5.556$  → $6.667$  → $6.667$  → $7.778$  → $7.778$  → $8.889$  → $8.889$  → $10$  → $10$  → $1.01$  → $1.01$  → $1$  → $1$  → $1.1$  → $1.1$  → $1.11$  → $1.11$  → $1.112$  → $1.112$  → $1.112$  → $1.112$  → $1.112$  → $1.112$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$  → $0.299$