⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 printdbl.3

📁 linux系统下的音频通信
💻 3
字号:
'\"'\" Copyright (c) 1989-1993 The Regents of the University of California.'\" Copyright (c) 1994-1997 Sun Microsystems, Inc.'\"'\" See the file "license.terms" for information on usage and redistribution'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.'\" '\" SCCS: @(#) PrintDbl.3 1.9 97/08/22 13:30:22'\" .so man.macros.TH Tcl_PrintDouble 3 8.0 Tcl "Tcl Library Procedures".BS.SH NAMETcl_PrintDouble \- Convert floating value to string.SH SYNOPSIS.nf\fB#include <tcl.h>\fR.sp\fBTcl_PrintDouble\fR(\fIinterp, value, dst\fR).SH ARGUMENTS.AS Tcl_Interp *interp.AP Tcl_Interp *interp in.VSBefore Tcl 8.0, the \fBtcl_precision\fR variable in this interpretercontrolled the conversion.  As of Tcl 8.0, this argument is ignored andthe conversion is controlled by the \fBtcl_precision\fR variablethat is now shared by all interpreters..VE.AP double value inFloating-point value to be converted..AP char *dst outWhere to store string representing \fIvalue\fR.  Must have atleast TCL_DOUBLE_SPACE characters of storage..BE.SH DESCRIPTION.PP\fBTcl_PrintDouble\fR generates a string that represents the valueof \fIvalue\fR and stores it in memory at the location given by\fIdst\fR.  It uses \fB%g\fR format to generate the string, with onespecial twist: the string is guaranteed to contain eithera ``.'' or an ``e'' so that it doesn't look like an integer.  Where\fB%g\fR would generate an integer with no decimal point, \fBTcl_PrintDouble\fRadds ``.0''..SH KEYWORDSconversion, double-precision, floating-point, string

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -