Sidebar

Using Directory Opus
Configuration
Programming
Reference Section
reference:plugins:plugin_sdk:utility_functions:numtostrdoublew

NumToStrDoubleW(
     double:dbVal,
     LPWSTR:lpszBuffer,
     int:cchBufSize,
     int:iDecPlaces,
     BOOL:fPlusMinus
)
→ void

Arguments

dbVal

[in] The value to convert.

lpszBuffer

[out] Buffer to receive the string.

cchBufSize

[in] Size of the lpszBuffer buffer, in characters.

iDecPlaces

[in] The number of decimal places (helper class default: 1).

fPlusMinus

[in] (Helper class default: FALSE)

Return value

None.

Description

The NumToStrDoubleW function converts a double value to a string.

The helper class sets lpszBuffer to an empty string before calling the function.