Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

check if $val is a whole?

Comments in 'Plugin Development' started by dxm_hippie, Oct 10, 2015.

  1. dxm_hippie
    Offline

    dxm_hippie Active Member Plugin Developer

    Joined:
    Feb 1, 2015
    Posts:
    413
    Plugins:
    1
    Minecraft User:
    XxDXM_hippiexX
    even if there a 0? bc round($kd/$dc, 2) also makes it round to the nearest thousandth but if the output is 2.00 its will just show 2..
  2. dxm_hippie
    Offline

    dxm_hippie Active Member Plugin Developer

    Joined:
    Feb 1, 2015
    Posts:
    413
    Plugins:
    1
    Minecraft User:
    XxDXM_hippiexX
    er hundredth I mean.. what evs :p

Share This Page

Advertisement