腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(3899)
视频
沙龙
1
回答
为什么我返回的结构在c中把负值变成了正值?
c
、
function
、
struct
、
negative-number
{ { { result.wholeNumber = (
numerator
/- (
numerator
%denominator)) /denominator)*-1;
浏览 1
提问于2014-10-29
得票数 0
2
回答
.C和.H文件错误
c
、
xcode
、
struct
、
fractions
- (
numerator
%denominator)) /denominator)*-1; b.
numerator
= b.
numerator
*multiplyB; result.
numerator
= a.
numerator
) + a.
nume
浏览 2
提问于2015-11-30
得票数 1
0
回答
XQuery返回不计算任何内容
xml
、
xquery
、
saxon
>$tree/
numerator
</
numerator
> </fraction> )$tree/*[1]/
numerator
/$tree/*[1]/denominator*$ggT+$tree/*[2]/
numerator
/$
浏览 8
提问于2018-07-19
得票数 1
回答已采纳
1
回答
在C#中将分数简化为粗略的分数代码
c#
我有一个特定的案例,我需要在任何可能的地方返回“粗俗”的分数。我想出的代码如下complexFractionString = complexFractionString.Replace("1/8", "⅛");complexFractionString = comp
浏览 6
提问于2014-07-29
得票数 1
1
回答
函数迭代的麻烦
python
、
function
、
for-loop
、
integer-division
= calc_quotient(num_of_inputs,
numerator
, denominator)
numerator
= int(input("\nEnter the
numerator
: ")) if
numerator</em
浏览 0
提问于2016-03-04
得票数 1
回答已采纳
2
回答
我需要帮助来修复这段代码
java
public class Number {private int denominator; this.
numerator
=
numerator
;} this.
numerator
= 0; this.denominator = 1
浏览 2
提问于2011-11-26
得票数 1
2
回答
在函数内使用函数的C++会给出无法解析的外部符号
c++
、
function
fraction public: void simplifyfraction(); int integral,
numerator
>
numerator
) if (
numerator
== denominator) if (
numerator
%
浏览 2
提问于2012-12-15
得票数 0
回答已采纳
1
回答
在大于分母的c++ /分子中实现有理数
c++
、
operators
、
rational-numbers
, denominator);frac& operator+=(const frac& a)
numerator
= a.
numerator
* denominator +
numerator
frac& a)
numerator
= a.
numerator
*
numerator
;
numerator
=
浏览 3
提问于2015-03-22
得票数 1
1
回答
为什么我的.c文件无法识别我的头文件?2个错误,XCode
c
、
xcode
、
struct
、
header
- (
numerator
%denominator)) /denominator)*-1; b.
numerator
= b.
numerator
*multiplyB; result.
numerator
= a.
numerator
) + a.
nume
浏览 3
提问于2014-10-29
得票数 0
2
回答
C++分数显示程序
c++
、
visual-studio
在代码的这一部分,{ cout<< "-" << abs(
numerator
); cout << abs(
numerator
);即使整数都不小于0,less语句也不会执行。and denominator of a fraction: \n";
浏览 4
提问于2021-12-10
得票数 0
3
回答
有理类-无法减少分数和除法
java
、
division
、
rational-number
、
greatest-common-divisor
= denominator) if (
numerator
> denominator) else }} public Rational add(Rat
浏览 5
提问于2016-10-21
得票数 1
5
回答
带有自己设计的类的C++程序,用于处理不能按预期工作的有理数对
c++
、
math
、
rational-numbers
numerator
: denominator; { temp.denominator = denominator + a.denominator; temp.
numerator
2=
numerator
- a.
numerator</em
浏览 3
提问于2010-11-27
得票数 1
2
回答
kotlin中的乘法和求和分式
kotlin
、
multiplication
class Fraction (private val
numerator
:Int, denumerator:Int) 我有一个叫做分数和两个对象的类。
浏览 15
提问于2022-10-15
得票数 0
2
回答
如何优化分数计数函数?
php
、
optimization
、
fractions
它计算错误的分数到法线(
numerator
>denominator)。 { while (intval($m[
NUMERATOR
]) >= intval($m[DENOMINATOR
浏览 0
提问于2018-09-26
得票数 0
回答已采纳
1
回答
在Perl或XSLT中解析数学公式XML<-> Latex
xml
、
perl
、
xslt
> <
numerator
> <
numerator
>1</
numerator
> <sign>+</sign> <
numerator
&
浏览 3
提问于2014-01-18
得票数 2
1
回答
将主文件拆分为头文件、源文件和主文件后出现多个错误
c++
() / gcd(get_
numerator
(),get_denominator()); inttemp_denominator = get_denominator() * obj.get_
nu
浏览 14
提问于2020-02-11
得票数 3
回答已采纳
2
回答
如何创建添加和减去有理数的python程序
python
以下是我迄今所做的工作: self.denominator = input(int("Please enter the denominator: "))
浏览 1
提问于2020-07-27
得票数 0
回答已采纳
2
回答
切片填充行/栏熊猫
python
、
pandas
pd 'title': ['string1', 'string2', 'string3', 'string4', 'string5', 'string6'], 'Num/Den': ['
Numerator
', 'Denominator', '
Numerator
', 'Denominator', &
浏览 0
提问于2017-05-09
得票数 0
回答已采纳
1
回答
在Python中将循环小数转换为分数
python
、
python-3.x
#set starting parametersstarting_denominator = 100 #find thecommon factors for the
numerator
and denomina
浏览 39
提问于2020-01-09
得票数 0
回答已采纳
2
回答
JavaScript函数不返回任何内容
javascript
、
return
这是我的密码: var
numerator
= n;
numerator
/= 7; console.log('Dividedby 7'); reduceFraction(
numerator
,
浏览 3
提问于2013-10-26
得票数 0
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
在学C语言的人,怎能不了解这些经典算法问题?
Java 刷题(八)
Pinterest是如何基于Flink做实时分析的?
新手必看:Python的非常有用的技巧
Lyft开源CEF:构建在 Envoy Proxy 之上的混沌实验框架
热门
标签
更多标签
云服务器
即时通信 IM
ICP备案
对象存储
实时音视频
活动推荐
运营活动
广告
关闭
领券