Skip to content
Narta Xaymar Dirks edited this page Oct 28, 2026 · 7 revisions

Blitz3DBlitzPlusBlitzBasic

Log

Log:Float32 float:Float32
Parameter Mode Type Default Description
float In Float32 required A number above 0.

Returns: The natural logarithm.

Description

Returns the natural logarithm (base e) of a number. For base 10 use Log10.

Examples

Print Log(10)
2.30259

Related Commands

Floor, LeadingZeros 〔BlitzLLVM〕, Log10, Mod

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally