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