parseExample: Floating Point Parsing Example

View source: R/RcppExports.R

parseExampleR Documentation

Floating Point Parsing Example

Description

This example is adapted from the example of the upstream README.md file, and generalized to be called from R with variable input.

Usage

parseExample(input = "3.1416 xyz ", verbose = TRUE)

Arguments

input

A character variable with text to parse including a simple default

verbose

A boolean variable to show or suppress progress, defaults to true

Value

A floating point scalar is returned on success; in case of parsing failure the function exists via stop().

Examples

parseExample()

RcppFastFloat documentation built on April 3, 2025, 9:39 p.m.