Displaying 20 results from an estimated 80 matches similar to: "pls help me regarding Maths round up function....."
2006 Jun 23
6
float calculation error
Hi
I have the following values
pActualCost = 33.00
pPaymentCost = 29.99
So this calculation should leave me with 0.01
pPaymentDifference = pActualCost - pPaymentCost
however when doing this in rails, it returns 0.00999999999999801
has anyone got any suggestions to whats going wrong and how I can
correct this
Thanks
Scott
--
Posted via http://www.ruby-forum.com/.
2002 Aug 26
2
Convert Registry
Hi there,
I have some problems here converting my WinXP registry to wine. Neither of the export options in regedit.exe seem to provide the appropriate input file format for regapi. So "regapi setValue < registry.reg" wont do anything.
"more registry.reg" displays the file in a human readable format, however, when I redirect the output into a new file or pipe it to an
2011 Feb 10
1
Intel GMA4500HD and glUseProgramObjectARB
I know you will probably think it is just like suicide, that you would prefer to have your balls hanging on the ceiling, with canales just around your neck, but I'm trying to play Civilization V on my laptop, with the aofrementioned Graphics card.
As appdb says it works very well, "platinum really", I thought it should as well in my craptastic rig. But that's not the case, as
2004 Aug 19
1
can't write superblock
Hi I have 2 servers. server 1(Fedora Core 2) shares /Shared with rwxrwx,
server2(Redhat linux 9) mount to /Shared from server 1. When I did
smbmount from server2, Shared is successfully mounted. I then remove
/Shared and recreate /Shared from server 1, I started having problem
from server 2. when I do mount, it still show Shared is mounted, but
when I do ls -l / , it displays /Shared
2014 Jun 11
3
Recent (6.02) PXELINUX on Soekris net4501
* Gene Cumm, 2014-06-10 :
> If 4.05 or 3.86 acted nicely, this would mean a bug.
OK, so, with unpatched official binaries:
3.86
----
pxelinux.0
Loads fine, assumes terminal width 15, displays menu, but then freezes
(I suspect it does not process any input from the serial port)
gpxelinux.0
Displays:
PXE->EB: !PXE at 9E64:0060, entry point at 9E64:00F6
UNDI code segment
2010 Apr 02
6
App_Controller and partial issues with has_many through
I have a User model, a Post model, and an Interest model:
User has_many posts through interests
User has_many interests, dependent destroy
Post has_many users through interests
has_many interests, dependent destroy
Post has_many interests
Interest belongs to Post
Interest belongs to User
Application_Controller is as follows:
class ApplicationController < ActionController::Base
before_filter
2014 Jun 10
2
Recent (6.02) PXELINUX on Soekris net4501
* Gene Cumm, 2014-06-10 :
> Did you see the SERIAL directive? If this isn't enough, there may be bugs
> in the modules or the libraries they use.
Yes, I'm aware of SERIAL, my config file has:
serial 0 19200 0
console 0
Thomas.
2015 Feb 20
0
Making systemd start a service after sshd?
Hi again,
I'm starting to get to the bottom of it. It looks like the file in
/etc/systemd/system is being ignored. I noticed this when I did a:
systemctl show -p "After" lightdm.service
and saw that it didn't show sshd.service as a depencency. After editing the
original copy of lightdm.service in /usr/lib/systemd/system and adding
sshd.service there, things work as
2006 Jul 11
0
help on Rserve
Dear All,
I'm calling R functions from Java by using Rserve, There is an exemple about dislay graphics in Java, this exemple is very difficult for me, I don't understand it...
Could someone give me a simple example ????
What I want is putting the graphe in a file to display it after that in a browser..
Thank you in advance
XENA
---------------------------------
2014 Jun 11
0
Recent (6.02) PXELINUX on Soekris net4501
> * Gene Cumm, 2014-06-10 :
>
> > If 4.05 or 3.86 acted nicely, this would mean a bug.
>
> OK, so, with unpatched official binaries:
>
> 3.86
> ----
>
> pxelinux.0
> Loads fine, assumes terminal width 15, displays menu, but then freezes
> (I suspect it does not process any input from the serial port)
>
> gpxelinux.0
> Displays:
>
2015 Feb 20
4
Making systemd start a service after sshd?
Hi folks,
For complicated reasons, I'd like to have a service (lightdm) start
after sshd starts. (This is on CentOS 7.) I've tried adding "sshd.service"
to the lists of "Active=" and "Require=" items in
/etc/systemd/system/lightdm.service (which started as a copy of
/usr/lib/systemd/system/lightdm.service), but these changes don't seem to
have
2007 Jul 23
1
maths characters in labels & ylab padding
I have checked out the help files, but cannot find details on how to use
maths characters in ylab. Instead of m^2, I would like the 2 in superscript,
if possible. I would also like to place more padding on the label so that
the label is not obscured by the horizontal numbers.
y <- 1:10
x <- rnorm(10,50000,2000)
plot(x ~ y,
ylab = 'Y Label (m^2)',
las = 1,
type =
2009 Mar 24
2
Legend containing maths symbol and values of variables
I need to have the maths symbol for >= in the legend, and to
substitute threshold variable with its value. Somehow, various
attempts weren't successful. Please help.
threshold <- 0.5
plot(NA, xlab="", ylab="", main="", axes=F, xlim=c(0,1), ylim=c(0,1),
xaxs="i", yaxs="i")
legend(x=0, y=1, fill=c("orange", "white",
2011 Apr 11
1
simple maths question
Hi Mrs & Ms "R",
A simple maths question that I am trying to resolve with R: I need to
calculate the SE from a pvalue and it's beta... How to do this...?
Thank you very much and best regards!
Georg Ehret, Geneva, Switzerland.
[[alternative HTML version deleted]]
2008 Aug 25
2
maths not working (can't get this)
I''ve got a few problems with this...Hopefully it''s cleaer what I''m
trying to do (work out and display two prices, one discounted / one
full). Be grateful for answers...
The total price and discounted price are not calculated correctly and
the duration is not coming through to the output page.
---------------
class Course < ActiveRecord::Base
has_one :enquiry
2000 Mar 20
1
trellis dislays and R
Hi;
Are Trellis displays implemented in R?
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
2006 Dec 09
2
Floating point maths in R
Hi,
I am not sure if this is just me using R (R-2.3.1 and R-2.4.0) in the
wrong way or if there is a more serious bug. I was having problems
getting some calculations to add up so I ran the following tests:
> (2.34567 - 2.00000) == 0.34567 <------- should be true
[1] FALSE
> (2.23-2.00) == 0.23 <------- should be true
[1] FALSE
> 4-2==2
[1] TRUE
> (4-2)==2
[1] TRUE
>
2000 Apr 17
3
Maths in R documentation (PR#523)
The document R-exts contains the following example of using
mathematics in R documentation.
\deqn{p(x) = {\lambda^x\ \frac{e^{-\lambda}}{x!}}
{p(x) = lambda^x exp(-lambda)/x!}
There is a syntax error in there, but that's not my point.
The problem is that using "R CMD Rd2dvi" I find that putting
the alternate forms of the equation on top of each other doesn't
work.
2014 Feb 15
9
[Bug 75013] New: [Quadro 600] [Ubuntu 13.10] Display update issues, stale rendered content
https://bugs.freedesktop.org/show_bug.cgi?id=75013
Priority: medium
Bug ID: 75013
Assignee: nouveau at lists.freedesktop.org
Summary: [Quadro 600] [Ubuntu 13.10] Display update issues,
stale rendered content
QA Contact: xorg-team at lists.x.org
Severity: major
Classification: Unclassified
OS:
2012 Mar 30
0
Wine release 1.5.1
The Wine development release 1.5.1 is now available.
What's new in this release (see below for details):
- Built-in JavaScript now preferred over Gecko in most cases.
- Support for scalable font resources.
- Fixes for audio and video playback.
- Support for script decoding in JScript.
- Various bug fixes.
The source is available from the following locations: