I have tried in AfterOperation as well to format the number:
with ItemTree.ItemFocused do
begin
Cells[INDEX_EstimatedTotalHours].Text := FormatFloat('0.00', InplaceFloatSpin.Editor.Value);
end;
but the zeros after the decimal place are not displayed, the whole number part is displayed.
How can I ensure the 2 decimals are displayed when zero?
Thank you.
Raymond
Comments