mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-09 22:57:21 +00:00
Fix value parsing in CpsDialogSliderSelector to ensure two decimal precision
This commit is contained in:
@ -56,7 +56,7 @@ class CpsDialogSliderSelector extends StatelessWidget {
|
||||
entityId: device?.uuid ?? '',
|
||||
functionCode: selectedFunction,
|
||||
operationName: operationName,
|
||||
value: value,
|
||||
value: double.parse(value.toStringAsFixed(2)),
|
||||
condition: selectedFunctionData.condition,
|
||||
),
|
||||
),
|
||||
|
Reference in New Issue
Block a user