Difference between revisions of "Template:Val/delimitnum"

From blackwiki
Jump to navigation Jump to search
blackwiki>Jimp
(#ifeq:{{{fmt|gaps}}}|gaps belongs inside #ifexpr:({{{1|0}}}1)=({{{1|0}}}) (the rest is cosmetic))
blackwiki>Jimp
(Appending a non-zero digit to multiply integers and only integers by more than 10 does not work for numbers between +1 & −1.)
Line 15: Line 15:
  
 
                 Test whether the number is an integer.  
 
                 Test whether the number is an integer.  
                (Appending a non-zero digit multiplies it by more than 10.)
+
     -->|{{#ifexpr:trunc(abs({{{1|0}}}))=0
     -->|{{#ifexpr:abs({{{1|0}}}9)>10*abs({{{1|0}}})
 
 
           |<!--  
 
           |<!--  
 
                 The number is an integer.  
 
                 The number is an integer.  

Revision as of 11:10, 11 February 2014

50px Template documentation[create]