Skip to main content
Skip table of contents

LOG

Basic Overview

Description

Returns the logarithm of a number (first argument) with respect to a base (second argument), while retaining all dimensions.

Syntax

LOG(Node1, Node2)

Parameter

  • Node: Input node, specified using the node name in single quotes (e.g. 'Profit')

  • Value (Node1): The value for which to calculate the logarithm.

  • Base (Node2): The base to use for calculation of the logarithm. The base can also be a standalone number.


Example

Input A =

Year

Value

2019

2

2020

3

2021

4.5


Input Base =

Year

Value

2019

2

2020

2

2021

2


Output LOG('A', 'Base') =

Year

Value

2019

1

2020

1.58

2021

2.17


Basic Overview

Description

Returns the logarithm of a number (first argument) with respect to a base (second argument), while retaining all dimensions.

Syntax

LOG(Node1, Node2)

Parameter

  • Node: Input node, specified using the node name in single quotes (e.g. 'Profit')

  • Value (Node1): The value for which to calculate the logarithm.

  • Base (Node2): The base to use for calculation of the logarithm. The base can also be a standalone number.


Example

Input A =


Year

Value

2019

2

2020

3

2021

4.5


Input Base =


Year

Value

2019

2

2020

2

2021

2


Output LOG('A', 'Base') =


Year

Value

2019

1

2020

1.58

2021

2.17


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.