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

NanoXLSX

NanoXLSX

CellBasicFormulasRound Method (Worksheet, CellAddress, Int32)

Returns a cell with a round formula

Namespace:  NanoXLSX
Assembly:  NanoXLSX (in NanoXLSX.dll) Version: 1.2.3.0 (1.2.3)
Syntax
C#
public static Cell Round(
	Worksheet target,
	CellAddress address,
	int decimals
)

Parameters

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

Return Value

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