Example #1
0
 public void Set(NumericType nt, long value)
 {
     this[nt] = value;
 }
Example #2
0
 public void Set(NumericType nt, float value)
 {
     this[nt] = (int)(value * 10000);
 }
Example #3
0
 public int GetAsInt(NumericType numericType)
 {
     return((int)GetByKey((int)numericType));
 }
Example #4
0
 public long GetAsLong(NumericType numericType)
 {
     return(GetByKey((int)numericType));
 }
Example #5
0
 public float GetAsFloat(NumericType numericType)
 {
     return((float)GetByKey((int)numericType) / 10000);
 }