问题标签 [int32]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
c# - Missing a Zero (0) from a parameterised value of type Int32 during Runtime
I have a function that takes 3 parameters, username(string), password(string) and an ID(Int32) for that i have just passed the parameter like this
but the parameter that takes the ID(Int32) takes only the 2070481 after the first 0 from the value passed.
I just want to know why it is happening and where that Zero (0) have gone ??? what i can do to get the complete value that i have passed as parameter ???
c# - Input string was not in a correct format - Slot Mchine App
I get the error: 'Input string was not in a correct format'..... I am running an if else calculation and then populating a label with the result the variable is declared as decimal then ToString('C') to the label...
ios - 类型“Int32”不符合协议“AnyObject”Swift?
我有一个模型,它的子类NSObject
,如下所示。
我已经下载NSMutableData
并JSON
使用NSJSONSerialization
.
我的代码是
我收到错误
我用过的地方Int32
。
下图
谢谢
swift - 如何快速将 Int32 值转换为 CGFloat?
这是我的代码。我将两个值传递给CGRectMake(..)
并获取和错误。
如何转换Int32
为CGFloat
不返回错误?
c# - 输入字符串在 c# 中的格式不正确,int 值的格式不正确
以下是它的代码:
c# - 如何确定哪个元素导致溢出?
我有这个代码:
测试数据是:
但是我得到以下代码和数据的运行时异常:
每个xml“记录”中有几个int值(4);有数千条记录。我如何在不戴上雨人帽(不太适合我)的情况下确定哪个值是导致溢出或下溢的有问题的值?
如果它是下溢(异常 msg 表示“OverflowException”和“对于 Int32 来说值太大或太小”,这可能是由这四个 int 成员之一的空值引起的吗?如果是这样,我怎么能告诉它将空值视为0?
swift - Swift:将 Int16 转换为 Int32(或 NSInteger)
我真的被困住了!我不是 ObjC 的专家,现在我正在尝试使用 Swift。我以为它会简单得多,但事实并非如此。我记得 Craig 说过他们称 Swift 为“没有 C 的 Objective-C”,但在 OS X 的基础中 C 类型太多了。文档说许多 ObjC 类型会自动转换,可能是双向的,转换为 Swift 类型。我很好奇:C 类型呢?
这是我卡住的地方:
我在 ObjC 中尝试了一些东西:
或者
将 Int16 转换为 Int 的正确方法是什么?
go - Golang:合并两个数字
问这个我觉得很愚蠢,但我怎样才能在 GO 中存档以下内容?
假设我有两个 int32,它们的值都为 33。
如何将它们组合成一个 int32,值为 3333 而不是 66?
.net - “=”运算符如何与.Net中的Int32一起使用
当我深入mscolib.dll
汇编时,我发现 Int32 是一个结构,但我不知道为什么我们可以像这样将“=”运算符应用于 Int32 Int32 num=5;
。它不会在 Int32 结构中重载“=”运算符。
vb.net - 如何使用带有整数的 for 循环
我正在尝试添加一个选项来执行一定次数的操作,但我无法使用 int32 来使用它。我在用着
dim Int As Int32()
For i = 0 To Int
'code
Next i
任何帮助表示赞赏。谢谢。