[MovableType]数値切り上げ
<mt:Var name="target" regex_replace="/^\-?\d+\.(\d*)$/","$1" setvar="_one_tenth"> <mt:Var name="target" regex_replace="/^(\d+)\.\d+$/","$1" setvar="_result"> <mt:If name="_one_tenth" ne="$target"> <mt:If name="_one_tenth" gt="0"> <mt:SetVar name="_result" op="+" value="1"> </mt:If> </mt:If>