Merge pull request #1270 from automatisch/feat/random-number

feat(formatter): add decimal point to random number transformer
This commit is contained in:
Ali BARIN
2023-09-08 21:02:10 +02:00
committed by GitHub
2 changed files with 17 additions and 3 deletions

View File

@@ -15,6 +15,15 @@ const randomNumber = [
description: 'The highest number to generate.',
variables: true,
},
{
label: 'Decimal points',
key: 'decimalPoints',
type: 'string' as const,
required: false,
description:
'The number of digits after the decimal point. It can be an integer between 0 and 15.',
variables: true,
},
];
export default randomNumber;