Sponsored Content
Full Discussion: what ia :=
Top Forums Shell Programming and Scripting what ia := Post 302101544 by ravi raj kumar on Wednesday 3rd of January 2007 12:56:12 AM
Old 01-03-2007
what ia :=

hi,
In a script i came accross the following satements
1.if [ $decimal != $1 ]; then
2. result="${DD:="."}$decimal"
3. fi

Here in the 2nd line what is the meaning of : before = (DD:=)?

any help pls.

cheers
RRK
 
_encodedecimal64(3M)													      _encodedecimal64(3M)

NAME
_encodedecimal64(), _encodedecimal128(), _encodedecimal32() - encode decimal-encoded decimal data SYNOPSIS
DESCRIPTION
There are two standard bit-encodings for decimal floating-point data: binary and decimal. Both encoding provide exactly the same data (analogous to big endian and little endian encodings). The HP-UX decimal floating-point types use the binary encoding. The function encodes x as a decimal-encoded 64-bit decimal datum. is a version of it takes a argument and returns a result. is a version of it takes a argument and returns a result. These math functions are supported for HP-UX 11i Version 3 September 2008 Update and forward. USAGE
To use any of these functions, compile with the option. Make sure your program defines and then includes Link in the math library by specifying or on the linking command line. For more information, see the at the following site: RETURN VALUE
returns x in the decimal encoding. raises no exceptions. ERRORS
No errors are defined. SEE ALSO
_decodebinary64(3M), _decodedecimal64(3M), _encodebinary64(3M), math(5). STANDARDS CONFORMANCE
These functions are not specified in any standard. HP Integrity Server Only _encodedecimal64(3M)
All times are GMT -4. The time now is 01:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy