---
name: "function::string_to_fp"
section: "3stap"
platform: "linux"
package: "systemtap-doc"
version: "5.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/function::string_to_fp"
---

# function::string\_to\_fp(3stap)

Convert the given string into floating point

## NAME

function::string\_to\_fp - Convert the given string into floating point

## SYNOPSIS

```
    string_to_fp:long(input:string)
```

## ARGUMENTS

*input*

the string representation of a decimal number

## DESCRIPTION

Given the string representation of a decimal number, convert it to a floating point which is stored in 64 bit long.

## SEE ALSO0

[*tapset::floatingpoint*(3stap)](/tapset::floatingpoint/3stap.md)
