How to get a value from a runtime float curve (structure)?

This is not a “runtime float curve”. It’s a special curve which can be edited in the default value: