Jump to content

User:Saper/NumberSorting

From Wikipedia, the free encyclopedia

Number table sort

[edit]

Breakdown for 0.21

[edit]
Original {{padleft:0{{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0))) round 0}}|6|&}} 0210000
No leading zero {{padleft:{{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0))) round 0}}|6|&}} 210000
No padleft {{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0))) round 0}} 210000
No final round 0 {{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0)))}} 210000
No multiply by 1000000 {{#expr:{{{1}}}- (({{{1}}}- .5) round 0)}} 0.21
Rounding {{#expr:({{{1}}}- .5) round 0}}
Experimental {{#ifeq:{{#expr:({{{1}}}-0.5)}}|-0.5|999|888}} 888
Solution {{padleft:{{#expr:(1000000*({{{1}}}- ({{#ifexpr:({{{1}}}-0.5)=-0.5|0|{{#expr:({{{1}}}-0.5) round 0}}}}))) round 0}}|6|&}} 210000
Experimental 2 {{#ifexpr:({{{1}}}-0.5)=-0.5|0|{{#expr:({{{1}}}-0.5) round 0}}}}
Last round gone {{#expr:({{{1}}}-.5)}} -0.29
Value alone {{#expr:({{{1}}})}} 0.21

Breakdown for 0.02

[edit]
Original {{padleft:0{{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0))) round 0}}|6|&}} 020000
No leading zero {{padleft:{{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0))) round 0}}|6|&}} &20000
No padleft {{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0))) round 0}} 20000
No final round 0 {{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0)))}} 20000
No multiply by 1000000 {{#expr:{{{1}}}- (({{{1}}}- .5) round 0)}} 0.02
Rounding {{#expr:({{{1}}}- .5) round 0}}
Experimental {{#ifeq:{{#expr:({{{1}}}-0.5)}}|-0.5|999|888}} 888
Solution {{padleft:{{#expr:(1000000*({{{1}}}- ({{#ifexpr:({{{1}}}-0.5)=-0.5|0|{{#expr:({{{1}}}-0.5) round 0}}}}))) round 0}}|6|&}} &20000
Experimental 2 {{#ifexpr:({{{1}}}-0.5)=-0.5|0|{{#expr:({{{1}}}-0.5) round 0}}}}
Last round gone {{#expr:({{{1}}}-.5)}} -0.48
Value alone {{#expr:({{{1}}})}} 0.02

Breakdown for 0.99

[edit]
Original {{padleft:0{{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0))) round 0}}|6|&}} 0990000
No leading zero {{padleft:{{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0))) round 0}}|6|&}} 990000
No padleft {{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0))) round 0}} 990000
No final round 0 {{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0)))}} 990000
No multiply by 1000000 {{#expr:{{{1}}}- (({{{1}}}- .5) round 0)}} 0.99
Rounding {{#expr:({{{1}}}- .5) round 0}} 0
Experimental {{#ifeq:{{#expr:({{{1}}}-0.5)}}|-0.5|999|888}} 888
Solution {{padleft:{{#expr:(1000000*({{{1}}}- ({{#ifexpr:({{{1}}}-0.5)=-0.5|0|{{#expr:({{{1}}}-0.5) round 0}}}}))) round 0}}|6|&}} 990000
Experimental 2 {{#ifexpr:({{{1}}}-0.5)=-0.5|0|{{#expr:({{{1}}}-0.5) round 0}}}} 0
Last round gone {{#expr:({{{1}}}-.5)}} 0.49
Value alone {{#expr:({{{1}}})}} 0.99

Breakdown for 1.23

[edit]
Original {{padleft:0{{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0))) round 0}}|6|&}} 0230000
No leading zero {{padleft:{{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0))) round 0}}|6|&}} 230000
No padleft {{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0))) round 0}} 230000
No final round 0 {{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0)))}} 230000
No multiply by 1000000 {{#expr:{{{1}}}- (({{{1}}}- .5) round 0)}} 0.23
Rounding {{#expr:({{{1}}}- .5) round 0}} 1
Experimental {{#ifeq:{{#expr:({{{1}}}-0.5)}}|-0.5|999|888}} 888
Solution {{padleft:{{#expr:(1000000*({{{1}}}- ({{#ifexpr:({{{1}}}-0.5)=-0.5|0|{{#expr:({{{1}}}-0.5) round 0}}}}))) round 0}}|6|&}} 230000
Experimental 2 {{#ifexpr:({{{1}}}-0.5)=-0.5|0|{{#expr:({{{1}}}-0.5) round 0}}}} 1
Last round gone {{#expr:({{{1}}}-.5)}} 0.73
Value alone {{#expr:({{{1}}})}} 1.23

Breakdown for 279.02

[edit]
Original {{padleft:0{{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0))) round 0}}|6|&}} 020000
No leading zero {{padleft:{{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0))) round 0}}|6|&}} &20000
No padleft {{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0))) round 0}} 20000
No final round 0 {{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0)))}} 19999.999999982
No multiply by 1000000 {{#expr:{{{1}}}- (({{{1}}}- .5) round 0)}} 0.019999999999982
Rounding {{#expr:({{{1}}}- .5) round 0}} 279
Experimental {{#ifeq:{{#expr:({{{1}}}-0.5)}}|-0.5|999|888}} 888
Solution {{padleft:{{#expr:(1000000*({{{1}}}- ({{#ifexpr:({{{1}}}-0.5)=-0.5|0|{{#expr:({{{1}}}-0.5) round 0}}}}))) round 0}}|6|&}} &20000
Experimental 2 {{#ifexpr:({{{1}}}-0.5)=-0.5|0|{{#expr:({{{1}}}-0.5) round 0}}}} 279
Last round gone {{#expr:({{{1}}}-.5)}} 278.52
Value alone {{#expr:({{{1}}})}} 279.02

Breakdown for 13.06

[edit]
Original {{padleft:0{{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0))) round 0}}|6|&}} 060000
No leading zero {{padleft:{{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0))) round 0}}|6|&}} &60000
No padleft {{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0))) round 0}} 60000
No final round 0 {{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0)))}} 60000
No multiply by 1000000 {{#expr:{{{1}}}- (({{{1}}}- .5) round 0)}} 0.06
Rounding {{#expr:({{{1}}}- .5) round 0}} 13
Experimental {{#ifeq:{{#expr:({{{1}}}-0.5)}}|-0.5|999|888}} 888
Solution {{padleft:{{#expr:(1000000*({{{1}}}- ({{#ifexpr:({{{1}}}-0.5)=-0.5|0|{{#expr:({{{1}}}-0.5) round 0}}}}))) round 0}}|6|&}} &60000
Experimental 2 {{#ifexpr:({{{1}}}-0.5)=-0.5|0|{{#expr:({{{1}}}-0.5) round 0}}}} 13
Last round gone {{#expr:({{{1}}}-.5)}} 12.56
Value alone {{#expr:({{{1}}})}} 13.06

Breakdown for 2.88

[edit]
Original {{padleft:0{{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0))) round 0}}|6|&}} 0880000
No leading zero {{padleft:{{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0))) round 0}}|6|&}} 880000
No padleft {{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0))) round 0}} 880000
No final round 0 {{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0)))}} 880000
No multiply by 1000000 {{#expr:{{{1}}}- (({{{1}}}- .5) round 0)}} 0.88
Rounding {{#expr:({{{1}}}- .5) round 0}} 2
Experimental {{#ifeq:{{#expr:({{{1}}}-0.5)}}|-0.5|999|888}} 888
Solution {{padleft:{{#expr:(1000000*({{{1}}}- ({{#ifexpr:({{{1}}}-0.5)=-0.5|0|{{#expr:({{{1}}}-0.5) round 0}}}}))) round 0}}|6|&}} 880000
Experimental 2 {{#ifexpr:({{{1}}}-0.5)=-0.5|0|{{#expr:({{{1}}}-0.5) round 0}}}} 2
Last round gone {{#expr:({{{1}}}-.5)}} 2.38
Value alone {{#expr:({{{1}}})}} 2.88

Breakdown for 0.009

[edit]
Original {{padleft:0{{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0))) round 0}}|6|&}} &09000
No leading zero {{padleft:{{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0))) round 0}}|6|&}} &&9000
No padleft {{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0))) round 0}} 9000
No final round 0 {{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0)))}} 9000
No multiply by 1000000 {{#expr:{{{1}}}- (({{{1}}}- .5) round 0)}} 0.009
Rounding {{#expr:({{{1}}}- .5) round 0}}
Experimental {{#ifeq:{{#expr:({{{1}}}-0.5)}}|-0.5|999|888}} 888
Solution {{padleft:{{#expr:(1000000*({{{1}}}- ({{#ifexpr:({{{1}}}-0.5)=-0.5|0|{{#expr:({{{1}}}-0.5) round 0}}}}))) round 0}}|6|&}} &&9000
Experimental 2 {{#ifexpr:({{{1}}}-0.5)=-0.5|0|{{#expr:({{{1}}}-0.5) round 0}}}}
Last round gone {{#expr:({{{1}}}-.5)}} -0.491
Value alone {{#expr:({{{1}}})}} 0.009

Breakdown for 0.0009

[edit]
Original {{padleft:0{{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0))) round 0}}|6|&}} &&0900
No leading zero {{padleft:{{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0))) round 0}}|6|&}} &&&900
No padleft {{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0))) round 0}} 900
No final round 0 {{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0)))}} 900
No multiply by 1000000 {{#expr:{{{1}}}- (({{{1}}}- .5) round 0)}} 0.0009
Rounding {{#expr:({{{1}}}- .5) round 0}}
Experimental {{#ifeq:{{#expr:({{{1}}}-0.5)}}|-0.5|999|888}} 888
Solution {{padleft:{{#expr:(1000000*({{{1}}}- ({{#ifexpr:({{{1}}}-0.5)=-0.5|0|{{#expr:({{{1}}}-0.5) round 0}}}}))) round 0}}|6|&}} &&&900
Experimental 2 {{#ifexpr:({{{1}}}-0.5)=-0.5|0|{{#expr:({{{1}}}-0.5) round 0}}}}
Last round gone {{#expr:({{{1}}}-.5)}} -0.4991
Value alone {{#expr:({{{1}}})}} 0.0009

Breakdown for 0.00009

[edit]
Original {{padleft:0{{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0))) round 0}}|6|&}} &&&090
No leading zero {{padleft:{{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0))) round 0}}|6|&}} &&&&90
No padleft {{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0))) round 0}} 90
No final round 0 {{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0)))}} 90
No multiply by 1000000 {{#expr:{{{1}}}- (({{{1}}}- .5) round 0)}} 9.0E-5
Rounding {{#expr:({{{1}}}- .5) round 0}}
Experimental {{#ifeq:{{#expr:({{{1}}}-0.5)}}|-0.5|999|888}} 888
Solution {{padleft:{{#expr:(1000000*({{{1}}}- ({{#ifexpr:({{{1}}}-0.5)=-0.5|0|{{#expr:({{{1}}}-0.5) round 0}}}}))) round 0}}|6|&}} &&&&90
Experimental 2 {{#ifexpr:({{{1}}}-0.5)=-0.5|0|{{#expr:({{{1}}}-0.5) round 0}}}}
Last round gone {{#expr:({{{1}}}-.5)}} -0.49991
Value alone {{#expr:({{{1}}})}} 9.0E-5

Breakdown for 0

[edit]
Original {{padleft:0{{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0))) round 0}}|6|&}} 01000000
No leading zero {{padleft:{{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0))) round 0}}|6|&}} 1000000
No padleft {{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0))) round 0}} 1000000
No final round 0 {{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0)))}} 1000000
No multiply by 1000000 {{#expr:{{{1}}}- (({{{1}}}- .5) round 0)}} 1
Rounding {{#expr:({{{1}}}- .5) round 0}}
Experimental {{#ifeq:{{#expr:({{{1}}}-0.5)}}|-0.5|999|888}} 999
Solution {{padleft:{{#expr:(1000000*({{{1}}}- ({{#ifexpr:({{{1}}}-0.5)=-0.5|0|{{#expr:({{{1}}}-0.5) round 0}}}}))) round 0}}|6|&}} &&&&&0
Experimental 2 {{#ifexpr:({{{1}}}-0.5)=-0.5|0|{{#expr:({{{1}}}-0.5) round 0}}}} 0
Last round gone {{#expr:({{{1}}}-.5)}} -0.5
Value alone {{#expr:({{{1}}})}} 0

Breakdown for 1

[edit]
Original {{padleft:0{{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0))) round 0}}|6|&}} &&&&00
No leading zero {{padleft:{{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0))) round 0}}|6|&}} &&&&&0
No padleft {{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0))) round 0}} 0
No final round 0 {{#expr:(1000000*({{{1}}}- (({{{1}}}- .5) round 0)))}} 0
No multiply by 1000000 {{#expr:{{{1}}}- (({{{1}}}- .5) round 0)}} 0
Rounding {{#expr:({{{1}}}- .5) round 0}} 1
Experimental {{#ifeq:{{#expr:({{{1}}}-0.5)}}|-0.5|999|888}} 888
Solution {{padleft:{{#expr:(1000000*({{{1}}}- ({{#ifexpr:({{{1}}}-0.5)=-0.5|0|{{#expr:({{{1}}}-0.5) round 0}}}}))) round 0}}|6|&}} &&&&&0
Experimental 2 {{#ifexpr:({{{1}}}-0.5)=-0.5|0|{{#expr:({{{1}}}-0.5) round 0}}}} 1
Last round gone {{#expr:({{{1}}}-.5)}} 0.5
Value alone {{#expr:({{{1}}})}} 1