Home | History | Annotate | Download | only in expr
      1 
      2 ========================
      3 Expression: true()
      4 Object is a Boolean : true
      5 
      6 ========================
      7 Expression: false()
      8 Object is a Boolean : false
      9 
     10 ========================
     11 Expression: number("1.5")
     12 Object is a number : 1.5
     13 
     14 ========================
     15 Expression: number('abc')
     16 Object is a number : NaN
     17 
     18 ========================
     19 Expression: -number('abc')
     20 Object is a number : NaN
     21 
     22 ========================
     23 Expression: floor(0.1)
     24 Object is a number : 0
     25 
     26 ========================
     27 Expression: floor(-0.1)
     28 Object is a number : -1
     29 
     30 ========================
     31 Expression: floor(-0)
     32 Object is a number : 0
     33 
     34 ========================
     35 Expression: floor(0)
     36 Object is a number : 0
     37 
     38 ========================
     39 Expression: floor(5.2)
     40 Object is a number : 5
     41 
     42 ========================
     43 Expression: floor(-5.2)
     44 Object is a number : -6
     45 
     46 ========================
     47 Expression: ceiling(0.1)
     48 Object is a number : 1
     49 
     50 ========================
     51 Expression: ceiling(-0.1)
     52 Object is a number : 0
     53 
     54 ========================
     55 Expression: ceiling(-0)
     56 Object is a number : 0
     57 
     58 ========================
     59 Expression: ceiling(0)
     60 Object is a number : 0
     61 
     62 ========================
     63 Expression: ceiling(5.2)
     64 Object is a number : 6
     65 
     66 ========================
     67 Expression: ceiling(-5.2)
     68 Object is a number : -5
     69 
     70 ========================
     71 Expression: round(0.1)
     72 Object is a number : 0
     73 
     74 ========================
     75 Expression: round(5.2)
     76 Object is a number : 5
     77 
     78 ========================
     79 Expression: round(5.5)
     80 Object is a number : 6
     81 
     82 ========================
     83 Expression: round(5.6)
     84 Object is a number : 6
     85 
     86 ========================
     87 Expression: round(-0.1)
     88 Object is a number : 0
     89 
     90 ========================
     91 Expression: round(-5.2)
     92 Object is a number : -5
     93 
     94 ========================
     95 Expression: round(-5.5)
     96 Object is a number : -5
     97 
     98 ========================
     99 Expression: round(-5.6)
    100 Object is a number : -6
    101