It is in text format to avoid errors when the result contains too many decimals.
Note that the result isn't instantly available, so when using the result in the same workflow where the action is run, add a small pause (200 ms) between this action and the next one where the result is used