Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

msp/runtime: add GetFloat to runtime Env#63399

Merged
jac merged 1 commit into
mainfrom
jac/msp-runtime-float
Jun 20, 2024
Merged

msp/runtime: add GetFloat to runtime Env#63399
jac merged 1 commit into
mainfrom
jac/msp-runtime-float

Conversation

@jac

@jac jac commented Jun 20, 2024

Copy link
Copy Markdown
Member

The runtime Env currently lacks a convenient method for getting a floating point env var. This PR adds a GetFloatmethod which will parse a float64 from a given env var

Part of CORE-181

Test plan

locally tested
values such as 10.2 and infinity were correctly parsed

@jac jac requested a review from a team June 20, 2024 17:28
@cla-bot cla-bot Bot added the cla-signed label Jun 20, 2024
@jac jac merged commit 472a556 into main Jun 20, 2024
@jac jac deleted the jac/msp-runtime-float branch June 20, 2024 17:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants