public static int NumberOfDecimalPlaces(this double Num)public static int NumberOfDecimalPlaces(double Num)
using System; using System.Collections.Generic; using System.Text; using System.Drawing; using WealthLab;namespace WealthLab.Strategies { public class Numbers : WealthScript { protected override void Execute() { PrintDebug( 3.14159265358979.NumberOfDecimalPlaces() ); // This function is inside the Calculate class of Community.Components: //PrintDebug( Community.Components.Calculate.NumberOfDecimalPlaces( 3.14159265358979 ) ); } } }