Cell.BasicFormulas.Round Method (Worksheet, Cell.Address, Int32)

PicoXLSX

PicoXLSX

CellBasicFormulasRound Method (Worksheet, CellAddress, Int32)

Returns a cell with a round formula

Namespace:  PicoXLSX
Assembly:  PicoXLSX (in PicoXLSX.dll) Version: 2.4.0.0 (2.4.0)
Syntax
C#
public static Cell Round(
	Worksheet target,
	CellAddress address,
	int decimals
)

Parameters

target
Type: PicoXLSXWorksheet
Target worksheet of the round operation. Can be null if on the same worksheet
address
Type: PicoXLSXCellAddress
Address to apply the round operation to
decimals
Type: SystemInt32
Number of decimals (digits)

Return Value

Type: Cell
Prepared Cell object, ready to added to a worksheet
See Also