ComValue.SetDecimal

Sets a Decimal value. Turns any FoxPro numeric value to a .NET decimal value.

This can actually be done in FoxPro explicitly with CAST(val as Currency) but this method can be used with pre-VFP 9 and is used internally to convert numerics to decimal.

public void SetDecimal(object val);

Parameters

val
A foxpro numeric value

See also

Class ComValue

© West Wind Technologies, 2025 • Updated: 2025-03-12
Comment or report problem with topic