Public Function FrequencyToBandNumber( _ ByVal vFreqInHz As Variant _ ) As Variant
FrequencyToBandNumber(980000) = 6 FrequencyToBandNumber(575000000) = 9 FrequencyToBandNumber(10000000) = 7 FrequencyToBandNumber(123) = 2 FrequencyToBandNumber(-123) = -1See also:
FrequencyToBandAbbreviation Function ConvertMeasure FunctionvFreqInHz: Number representing a frequency as measured in Hertz or cycles per second. Function returns Null if vFreqInHz is Null or cannot be fixed up to a number.
Function returns -1 if vFreqInHz is <= 0 (less than or equal to zero).
Definition:
Int(LogNReal(Frequency, 10) - LogNReal(3, 10) + 1)
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.