Allows to change the final value of an option.
Use it at the end of your formula if you need to add some texts to introduced values, for example to add units.

Syntax

CFO_SetOptionValue(option_id, Value);

option_id: It’s option id number without “{” and “}”, just the number.
Value: The value to assign to option.

Example

...
// Get entered value for option_id number 12
$Dummy = {12};

// Let's say you want to add "centimeters" near the entered value, when the product is in the cart.
$Dummy = $Dummy . " centimeters";
CFO_SetOptionValue(12, $Dummy);
...

Demo
Here you can find a complete demo using this trick: Adding texts to product details, in cart