Documentation Index

Fetch the complete documentation index at: https://docs.lobster-world.com/llms.txt

Use this file to discover all available pages before exploring further.

convert Double2Int()

Prev Next

This function converts a floating-point number (double) a into an integer. Parameter b specifies how many decimal places are to be used for this (see examples below).

Parameters

Parameter

Description

a

Value.

b

(optional) Number of decimal places to be used. Default: 0

Examples

Parameter a

Parameter b

Result

1.75

1

1.75

1

17

1.75

2

175

1.75

3

1750