mockaroo-enterprise icon indicating copy to clipboard operation
mockaroo-enterprise copied to clipboard

Whole number floats returned form a formula are typecasted to integers even if the return type is stirng

Open goalaleo opened this issue 3 years ago • 0 comments

Hi,

I tried multiple ways to generate floats in range 1.0 - 5.0 in steps of 0.5, but it seems like whenever a float is a whole number it will be type casted to an integer.

I finally managed to get what I want with a custom list, but I think that: If the character sequence generator is used with a formula, then the returned value should be inserted as is if it's a string

Screenshot 2022-08-31 at 14 55 59 Screenshot 2022-08-31 at 14 55 55 Screenshot 2022-08-31 at 14 55 50

goalaleo avatar Aug 31 '22 12:08 goalaleo