barsuift.simLife
Class PercentHelper

java.lang.Object
  extended by barsuift.simLife.PercentHelper

public final class PercentHelper
extends java.lang.Object


Method Summary
static java.math.BigDecimal getDecimalValue(int value)
          Returns a BigDecimal value between 0 and 1 from the given value, which must be comprised between 0 and 100
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDecimalValue

public static java.math.BigDecimal getDecimalValue(int value)
Returns a BigDecimal value between 0 and 1 from the given value, which must be comprised between 0 and 100

Parameters:
value - a value between 0 and 100
Returns:
a decimal value between 0 and 1


Copyright © 2010. All Rights Reserved.