Greg
11-05-2007, 08:34 PM
HI all,
Can anyone tell me how I might return a "DailyRate" expressed to 3 decimal points? The following code will only give me 2 decimal points.
Call FillABookmark("StartDate", txtStartDate.Text)
Call FillABookmark("EndDate", txtEndDate.Text)
Call FillABookmark("NumDays", DateDiff("d", txtStartDate, txtEndDate))
Call FillABookmark("DailyRate", FormatCurrency((CLng(txtAmount) * CLng(txtRate) / 100) / 365))
Regards,
Greg.
Can anyone tell me how I might return a "DailyRate" expressed to 3 decimal points? The following code will only give me 2 decimal points.
Call FillABookmark("StartDate", txtStartDate.Text)
Call FillABookmark("EndDate", txtEndDate.Text)
Call FillABookmark("NumDays", DateDiff("d", txtStartDate, txtEndDate))
Call FillABookmark("DailyRate", FormatCurrency((CLng(txtAmount) * CLng(txtRate) / 100) / 365))
Regards,
Greg.