Garry's Mod Wiki

Revision Difference

DNumberScratch:GetFraction#513598

<function name="GetFraction" parent="DNumberScratch" type="panelfunc">⤶ <ispanel>yes</ispanel>⤶ <description>⤶ Returns the value of the <page>DNumberScratch</page> as a fraction, a value between 0 and 1 where 0 is the minimum and 1 is the maximum value of the <page>DNumberScratch</page>.⤶ ⤶ See also:⤶ * <page>DNumberScratch:GetTextValue</page>⤶ * <page>DNumberScratch:GetFloatValue</page>⤶ * <page>DNumberScratch:SetFraction</page>⤶ </description>⤶ <realm>Client</realm>⤶ <rets>⤶ <ret name="" type="number">A value between 0 and 1</ret>⤶ </rets>⤶ </function>⤶ ⤶