Navigation:  thinBasic Modules > Core > Numeric handling > CVx >

CVDWD

Previous pageReturn to chapter overviewNext page

 

Description

 

Convert string bytes into corresponding numeric data.

 

Syntax

 

n = CVDWD(String_Expression [, OffSet])

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

String_Expression

String

No

Any string expression

OffSet

Number

Yes

Indicate at what position inside String_Expression to start conversion

 

Remarks

 

The CVx functions return a number corresponding to a binary pattern stored in a string value.

 

Function   Bytes from string   Numeric expression

CVBYT     1-byte string       Byte

CVCUR     8-byte string       Currency

CVCUX     8-byte string       Extended-currency

CVD       8-byte string       Double-precision

CVDWD     4-byte string       Double-word

CVE      10-byte string       Extended-precision

CVI       2-byte string       Integer

CVL       4-byte string       Long-integer

CVQ       8-byte string       Quad-integer

CVS       4-byte string       Single-precision

CVWRD     2-byte string       Word

 

Restrictions

 

See also

 

CVBYT, CVCUR, CVCUX, CVD, CVDWD, CVE, CVI, CVL, CVQ, CVS, CVWRD

 

Examples

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com