Location:
Search - float to string
Search list
Description: 本规范中所指定的数据类型如INT,FIXED,VARSTR,FLOAT,DATE,TIME等只是为数据检查设定的;前端系统通过调用时均以字符串方式上送,AG会根据该规范进行必要的类型和长度检查; 除非特别说明,本规范中的规定的字段长度都是最大长度(FIXED类型是定长)。-the norms as specified in the data types such as INT, fixed, VARSTR, FLOAT, DATE, TIME, etc. only to check data set; By calling the front-end system when there were a string sent to the AG on the basis of norms of the necessary type and length of inspections; Unless indicated, the specification of the length field is the largest length (fixed length type).
Platform: |
Size: 5180033 |
Author: 赵飞 |
Hits:
Description: CPropertyGrid是基于MFC开发的一个属性表控件,它以表格的方式显示和输入数据,其功能和外观类似Visual Basic 6以及Visual Studio 2003的属性窗口。
CPropertyGrid支持的数据类型有:字符串、整数、浮点数、布尔型、度分秒、尺寸、颜色、字体、文件、按钮、列表、日期、时间等,而且可以根据需求进行扩展。
-CPropertyGrid MFC is based on the development of an attribute list controls, which in tabular form display and data input, and its function and appearance similar to Visual Basic 6 and Visual Studio 2003 properties window. CPropertyGrid support data types are : string, integer, float, boolean, minute and second degree, size, color, typeface, paper, buttons, list the date, time, but can demand expansion.
Platform: |
Size: 1566604 |
Author: 黄河 |
Hits:
Description: 本规范中所指定的数据类型如INT,FIXED,VARSTR,FLOAT,DATE,TIME等只是为数据检查设定的;前端系统通过调用时均以字符串方式上送,AG会根据该规范进行必要的类型和长度检查; 除非特别说明,本规范中的规定的字段长度都是最大长度(FIXED类型是定长)。-the norms as specified in the data types such as INT, fixed, VARSTR, FLOAT, DATE, TIME, etc. only to check data set; By calling the front-end system when there were a string sent to the AG on the basis of norms of the necessary type and length of inspections; Unless indicated, the specification of the length field is the largest length (fixed length type).
Platform: |
Size: 5180416 |
Author: 赵飞 |
Hits:
Description: 在VB程序中,完成字符与单精度浮点数的转换,其中StringToDouble为字符串转换为单精度数,FloatToString为单精度数转换为4字节字符串。-in VB program, complete with characters in the single precision floating point conversion, which StringToDouble to string conversion of single-precision the number of single-precision FloatToString conversion of 4-byte string.
Platform: |
Size: 1024 |
Author: 梁建军 |
Hits:
Description: 完善字符串类的运算符功能
1、 利用运算符重载完善字符串类的运算符功能。如:
串+整数;整数+串;浮点数+串;串-串;串/串 等;
2、 编制一个带菜单的小系统,演示该类的运算符操作。
-perfect string Operators such a function, using Operator perfect string category Operators function. Such as : String Integer; Integer string; Float string; Series-Series; Series/Series; 2, the preparation of a menu with a small system, the demonstration of such Operators operation.
Platform: |
Size: 548864 |
Author: 李昭明 |
Hits:
Description: 学员成绩管理系统(设计+代码)。用Java编写一个程序实现学员成绩管理,每个学员包括3门课的成绩,从键盘输入学员信息(最多输入20个,但最少并不知道),包括学号(String)姓名(String) 三门课成绩(用整形数组来存)计算出学员的平均成绩(float),按照学员平均成绩由大到小排序插入功能:在排序后的学员成绩表中插入一个学员的信息,要求插入后仍然保持成绩表有序删除功能:要求输入指定的学号,从学员信息表中删除该学员,删除后的成绩表保持有序 -Student achievement management system (designed+ Code). Using Java to prepare students to achieve a program performance management, each student, including three classes of results, students from the keyboard input information (input a maximum of 20, but at least did not know), including Student ID (String) Name (String) 3 class results (use of plastic to keep the array) to calculate the average student achievement (float), in accordance with the students grade point average insertion sort descending: In sort of the trainees after the results table, insert a student information requested remained after insertion delete function results in an orderly manner: for the importation of the designated school number, student information table from the deletion of the trainees, after the deletion of the results to maintain orderly
Platform: |
Size: 116736 |
Author: bbrica |
Hits:
Description: 一个printf的实现源代码,包括对浮点数等到字符串的格式化,与平台无关,可以方便在嵌入式中使用。-Printf realization of a source code, including the float until the string format, with platform-independent, it will be convenient to use in the embedded.
Platform: |
Size: 6144 |
Author: woodburn |
Hits:
Description: 各种基本数据类型转换源程序。
本程序涉及到的数据类型有:float, int , char, string.-A variety of basic data type conversion source. This procedure involves the data types are: float, int, char, string.
Platform: |
Size: 107520 |
Author: Steno |
Hits:
Description: 一个小程序,可以将string 转换为float型数,可用于string类的统一-A small program can be converted to string a number of float-type, can be used for the unification of string type
Platform: |
Size: 5120 |
Author: 易欣 |
Hits:
Description: This a fast floating point to string conversion function. Avoids the use of unsafe sprintf function. Works with float and double types. Correctly manages +inf, -inf, nnan (not a number).-This is a fast floating point to string conversion function. Avoids the use of unsafe sprintf function. Works with float and double types. Correctly manages+inf,-inf, nnan (not a number).
Platform: |
Size: 1024 |
Author: steux |
Hits:
Description: 发送一个开放声音控制(OSC)的信息通过UDP连接
oscsend(美,路径)
oscsend(美,路径,类型,arg1的,arg2的,...)
oscsedn(美,路径,类型,[参数])
ü= UDP的对象与打开的连接。
路径=路径字符串
=同类型的参数类型的字符串,
支持:
我=整数
f=浮动
商S =串
每组空(忽略相应的参数)
余=脉冲(忽略相应的参数)
T=真(忽略相应的参数)
F=假(忽略相应的参数)
乙=布尔(不是官方:将参数为T/在F型)
不支持:
b=一滴
参数=参数所指定的类型。
示例
ü=的UDP( 127.0.0.1 ,7488)
的FOPEN(美)
oscsend(ü, /测试 , ifsINBTF ,1,3.14, 您好 ,[],[],虚假,[],[])
fclose(美)
如需关于振荡信息http://opensoundcontrol.org/。-Sends a Open Sound Control (OSC) message through a UDP connection
oscsend(u,path)
oscsend(u,path,types,arg1,arg2,...)
oscsedn(u,path,types,[args])
u = UDP object with open connection.
path = path-string
types = string with types of arguments,
supported:
i = integer
f = float
s = string
N = Null (ignores corresponding argument)
I = Impulse (ignores corresponding argument)
T = True (ignores corresponding argument)
F = False (ignores corresponding argument)
B = boolean (not official: converts argument to T/F in the type)
not supported:
b = blob
args = arguments as specified by types.
EXAMPLE
u = udp( 127.0.0.1 ,7488)
fopen(u)
oscsend(u, /test , ifsINBTF , 1, 3.14, hello ,[],[],false,[],[])
fclose(u)
See http://opensoundcontrol.org/ for more information about OSC.
Platform: |
Size: 2048 |
Author: abeaqhax |
Hits:
Description: 一个用c语言写的解释器,有三种数据类型:int、float、string。支持+ -×/和print功能。虽然很小,但有很强的参考意义,容易扩展-A simple interpreter, there are three data types: int, float, string. Support+- ×/and print functions. Although small, but has a strong reference value, easy to extend
Platform: |
Size: 18432 |
Author: 明 |
Hits:
Description: 程序开始运行,要求用户首先输入两个大数。
然后进行菜单选择,进行相应的大数运算。
分析说明:由于大数的范围太大,不能直接定义为int或者float等,
所以我们的想法就是定义成字符串类型,
输入的数字一位一位地存入字符数组里面。
然后在运算的时候也是一位一位地运算。
这个过程就得从最基本的数学运算法则做起,不乏多种判断。
涉及到数组和指针的应用。最难的就是判断情
况还有应用数组和指针过程中出现的多种未可预知的错误,
还得通过逐步调试慢慢找出。我们先从加减法做起,然
后在这两个基础上做出乘除法还有高阶乘法。
比较麻烦的是减法和除法,因为涉及到位的转移及判断。
最后是main函数的设计,主要是设计成可以连续使用的,
还有就是比较友好的界面。运用到了swich函数。还有那个图形的设计。-Program started running, require the user to enter first two operation.
Then the menu option, undertake corresponding tarsus operations.
Analysis in this paper shows that: because of the large range is too big, can not directly defined as int or float,
So our idea is defined as a string literal,
The number of input a a deposit to string array inside.
And then in the operation of time also is a a ground operations.
This process will have to from the most basic mathematical algorithms, starts to there is no lack of judgment.
Involves the application of array and pointer. The most difficult judgment is feeling
Conditions and application array pointer and appeared in the process of many unforeseen predictable wrong,
Still have to go through gradually debugging slowly find out. We start from the first addition and subtraction, however
In the two after a method based on the mentalistic and high factorial method.
More trouble is subtraction and division, and because of the transf
Platform: |
Size: 275456 |
Author: yang |
Hits:
Description: 写一个函数,输入参数有四个,分别是map<string,float>型数据,整数,float型数组,string型数组。返回结果,将map中的数据按float值进行排序,并将排序后的结果保存到float、string两个数组中,两个数组元素必须对应于map数据。-Write a function, there are four input parameters, are the map <string,float> data, integer, float array, string array. Return results in the map data according to the float value to be sorted, and sorted the results saved to a float, the string array, the array elements must correspond to the map data.
Platform: |
Size: 1024 |
Author: 汪亚男 |
Hits:
Description: 在单片机开发中,为了存储方便有时需要大字符串转换成浮点数。-In MCU development, in order to facilitate storage and sometimes require large string into float.
Platform: |
Size: 1024 |
Author: wlf |
Hits:
Description: XPB!Basic
XPB! is a brand new compiler for the 32-bit Windows platform that contains a rich set of features for developingboth GUI and console applications!
Features
True 32-bit compiler!
Create both GUI and console programs!
Create DLL and OBJ files!
Compiles your program to fast machine code!
Built-in assembler!
Built-in linker!
Built-in resource compiler!
Over 200 commands/functions!
No run-time support files to distribute!
Integrated Development Environment!
GUI programs are as small as 4K in size!
Console programs are as small as 2K in size!
Expressions Including Signed Numbers.
Supports integer, float and string data types.
Variable Assignments - Numeric & Strings
Relational Operators < > <> = <= >=
Math Operators + - / *
Single dimension INTEGER arrays supported.
80-bit double precision floats supported. (Work in progress)-XPB!Basic
XPB! is a brand new compiler for the 32-bit Windows platform that contains a rich set of features for developingboth GUI and console applications!
Features
True 32-bit compiler!
Create both GUI and console programs!
Create DLL and OBJ files!
Compiles your program to fast machine code!
Built-in assembler!
Built-in linker!
Built-in resource compiler!
Over 200 commands/functions!
No run-time support files to distribute!
Integrated Development Environment!
GUI programs are as small as 4K in size!
Console programs are as small as 2K in size!
Expressions Including Signed Numbers.
Supports integer, float and string data types.
Variable Assignments - Numeric & Strings
Relational Operators < > <> = <= >=
Math Operators + - / *
Single dimension INTEGER arrays supported.
80-bit double precision floats supported. (Work in progress)
Platform: |
Size: 2255872 |
Author: Eidos |
Hits:
Description: 编译原理实验 词法分析
一、实验目的:
通过设计编制调试一个具体的词法分析程序,加深对词法分析原理的理解。并掌握在对程序设计语言源程序进行扫描过程中将其分解为各类单词的词法分析方法。
二、实验内容
编制一个能够分析整数、小数、字符串、标识符、分隔符、运算符和关键字的词法分析程序。同时要能过滤行注释和块注释。
三、实验要求
1、词法规则
关键字: if、then、else、while、do、int、float、string、begin、end
单词类别:1
标识符: 由字母打头的字母数字串。
单词类别:2
整数: 数字串。
单词类别:3
小数: 数字串• 数字串
单词类别:4
字符串: 由一对“”括起来的文本串
单词类别:5
分隔符: {、}、(、)、;、空格
单词类别:5
运算符: :=、=、<、<=、>、>=、+、-、*、/
单词类别:6
2、设计词法分析函数scan( ),完成以下功能:
1)从键盘或文件读入数据,分析出一个单词;
注意:调用一次词法分析函数scan( )只识别出一个单词。
2)返回单词类别、单词本身、所在的行列号;
3、编写测试程序,反复调用函数scan( ),输出单词种别和属性。-Compiler theory lexical analysis experiment
First, the purpose of the experiment :
Design prepared by commissioning a specific lexical analysis program to deepen the understanding of the principles of lexical analysis . And mastery of the programming language source code scanning process will be broken down into various types of word lexical analysis methods .
Second, experimental content
Preparation of an ability to analyze integer, decimal , string, identifier , separator, lexical analysis program operators and keywords. At the same time to be able to filter line comments and block comments.
Third, the experimental requirements
A lexical rules
Keywords : if, then, else, while, do, int, float, string, begin, end
Words Category : 1
Identifier: beginning with the letter alphanumeric string .
Word category: 2
Integer: numeric string .
Words Category : 3
Decimal : numeric string • string of digits
Words Category : 4
String: a pair of " " text string enclosed
Platform: |
Size: 1697792 |
Author: jchen |
Hits:
Description: Programs to delimit a string, concatenate strings and float to string conversion.
Platform: |
Size: 1024 |
Author: shiva kumar |
Hits:
Description: this c code converts float value to string
Platform: |
Size: 1024 |
Author: vinayak jadhav |
Hits:
Description: viens du tryskkkjd klashfahfkla llahfalshflak lahfaigfajgfayt
Platform: |
Size: 80896 |
Author: kaziukas |
Hits: