예제 #1
0
        public override void InnerRun(Dictionary <string, object> vars, Dictionary <string, object> outputVars, Dictionary <string, object> InvertedInputVars, Message message)
        {
            var number      = vars["Number"];
            var maxDecimals = vars["MaxDecimals"];

            outputVars["Result"] = TapestryUtils.DoubleToHex(Convert.ToDouble(number), (int)maxDecimals);
        }
예제 #2
0
 public static string ConvertToHex(COREobject core, double Number, int MaxDecimals)
 {
     return(TapestryUtils.DoubleToHex(Number, MaxDecimals));
 }