similar to: non-characters conversion

Displaying 20 results from an estimated 30000 matches similar to: "non-characters conversion"

2006 May 11
6
Dynamic data passing thru Rails to Flash
Hi, I am using Flash Dashboard and 3 sets of listbox. When i change my first list box say name i need to dynamically change the second list box and from the second list box when i choose an name i need to change the content according to this in the third list box. How can i pass this datas from database in rails. thanx g.balaji -- Posted via http://www.ruby-forum.com/.
2006 May 15
2
Flash & Rails Data passing
Hi, I am new to Rails and we are creating a web 2.0 app where we are integrating Rails and Flash. I dont know how to pass the values from flash to Rails to save in database. We have integrated the above specified with PHP and Rails. How to get the data from database and pass on the Flash thru Rails. Wht i exactly need is, We have 3 list box where when i select the first list box i need to
2006 May 15
2
login engine error
Hi everybody, I am new to rails. I get the following error when run the rake engine:migrate for the engine login_engine. ------------------------------------------------------------------------ gbalaji:~/projects/test/vendor/plugins/login_engine gopalbalaji$ rake engine_migrate ENGINE=log --trace (in /Users/gopalbalaji/Projects/test) ** Invoke engine_migrate (first_time) ** Invoke
2006 Mar 28
2
Newbie question - ActionController::RoutingError
When i run my server and just chk in browser i get --------------------------------------------------- ActionController::RoutingError (Recognition failed for "/rails_info/properties"): /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/routing.rb:488:in `recognition_failed''
2006 Mar 28
1
server not starting in new Rails 1.1 - lighttpd parser error
I am newbie - needed help, I just know updated rails1.1 When i start the server I''m getting this error, ------------------------------------------ gbalaji:~/projects/depot gopalbalaji$ ruby script/server => Booting lighttpd (use ''script/server webrick'' to force WEBrick) => Rails application started on http://0.0.0.0:3000 => Call with -d to detach =>
2006 Feb 15
2
Financial app - decimal to float conversion problem
I''m having problems with using Rails for a financial application: the database stores financial fields as decimal, but ActiveRecord converts these to float - so I get the rounding errors you''d expect (http://www.mindprod.com/jgloss/floatingpoint.html). This has come up recently, and the recommended fix seems to be to be Tobi Luetke''s ''money'' gem
2006 Jun 06
4
pls help me regarding Maths round up function.....
Hi, I have some values on my webpage displaying like 1.22333333333 2.33333344444 2.33377777777 etc. Here I want to display values upto 2 decimal places correct. i.e, 1.22333333333 should be dislayed as 1.22 2.33333344444 should be dislayed as 2.33 2.33777777777 should be dislayed as 2.34 & so on.... How to do this in ruby????? Is there any function??? Thanx in advance. Prash --
2015 Aug 28
2
[OT] GNU bc base conversion
Hello CentOS List Members, Thoughts as to why my BC functions aren't properly converting between bases? Decimal to binary or hex works fine, but not binary or hex to decimal and so forth. No doubt the syntax is in some way wrong, but when I test from the CLI and the right values are returned, I have to wonder. Other than a few other define statements, the only other option I have set is
2006 Mar 28
0
Sql error using MAMP with rails 1.1
Hi, I am newbie and i am using MAMP with rails for trying out few things in web development. I just upgraded to rails 1.1 and created a new rails depot project and when i just gone to change my database.yml, I get this ------------------------------------------------------------------------------- development: adapter: mysql database: depot_development username: root password: root
2008 Jul 16
1
date to decimal date conversion
Hello R Users, I want to convert date (yr, mo, day, hr, min, sec) to decimal date, for example: Date (in six columns): yr mo dy hr min sec 1993 02 13 05 52 00 Converted to Decimal date : 1993.3542 How to write a small code in R so I can convert six column date to decimal date Many thanks, Yogesh -- Yogesh K. Tiwari (Dr.rer.nat), Scientist, Indian Institute
2015 Aug 28
0
[OT] GNU bc base conversion
On 08/28/2015 07:15 AM, Mike - st257 wrote: > Thoughts as to why my BC functions aren't properly converting between bases? > > Decimal to binary or hex works fine, but not binary or hex to decimal and > so forth. I'm not an expert in bc, so I might be wrong, but it looks like setting the ibase inside a function is simply too late. ibase affects how bc interprets input. So
2009 Mar 18
4
[LLVMdev] decimal to floating point conversion
Hi all: I need an instruction that can convert decimal values into floating point numbers. i.e. say I have a decimal number 1110794174 (== 42355FBE in hex ) and (== 45.3435 as a float) essentially the mantissa and exponent representation needs to be used. Is there any way of doing this in llvm? Thanks and Regards -- -- Aparna Kotha Graduate Student Electrical and Computer Engineering
2009 Mar 18
0
[LLVMdev] decimal to floating point conversion
aparna kotha wrote: > Hi all: > > I need an instruction that can convert decimal values into floating > point numbers. > > i.e. say I have a decimal number 1110794174 (== 42355FBE in hex ) and > (== 45.3435 as a float) > > essentially the mantissa and exponent representation needs to be used. > > > Is there any way of doing this in llvm? I think
2004 Jan 09
2
Fit non-linear regressor
Hi R masters, Sorry for first mensage, this is orignal text... y<-c(2.8150,3.5239,4.0980,4.5845,5.0709,5.4824,5.8427,6.3214,6.7349,7.3651) x<-c(37,42,47,52,57,62,67,72,77,82) I need fit R and A in y=f(x)=R*exp(A*x), with minimize sd= sqrt(SRR/(n-2)) where SRR is Sum of the Square of the Residuals and n is number of data points (in this case 10) How do I make this? Thanks in advance
2011 Dec 04
2
Extract last 3 characters from numeric vector
Hi all, I have a numeric vector with 1 decimal place, and I'd like to extract the last 3 characters, including the decimal point. The vector ranges from 0 to 20. x <- round(runif(100)*20, digits=1) Some of numbers have 3 characters, and some have 4. I've read up on the substr() function but that extracts characters based on exact positions. How can I extract just the last 3
2005 Jul 29
1
Wild card characters
I have a string '982323.1' and would like to replace everything after the '.' with a '41'. So the string should look like '982323.41'. The code I use to do this is sub('\.$','41',982323.1) This works fine as long as there is only 1 digit after the decimal. If I have '982323.10', then the result of the code is '982323.141'
2015 Aug 28
3
[OT] GNU bc base conversion
On Aug 28, 2015, at 9:50 AM, Gordon Messmer <gordon.messmer at gmail.com> wrote: > > On 08/28/2015 07:15 AM, Mike - st257 wrote: >> Thoughts as to why my BC functions aren't properly converting between bases? >> >> Decimal to binary or hex works fine, but not binary or hex to decimal and >> so forth. > > I'm not an expert in bc, so I might be
2005 Nov 10
1
R-help: conversion of long decimal numbers into hexadecimal
Hi there, could somebody help me to convert a decimal number into a hexadecimal number? I know that there is the function "sprintf", but the numbers I want to convert consist of 20 or more numbers. "Spintf" is not able to convert these big numbers. Thanks for any help. Antje [[alternative HTML version deleted]]
2015 Aug 31
0
[OT] GNU bc base conversion
On Fri, Aug 28, 2015 at 4:14 PM, Warren Young <wyml at etr-usa.com> wrote: > On Aug 28, 2015, at 9:50 AM, Gordon Messmer <gordon.messmer at gmail.com> > wrote: > > > > On 08/28/2015 07:15 AM, Mike - st257 wrote: > >> Thoughts as to why my BC functions aren't properly converting between > bases? > >> > >> Decimal to binary or hex
2002 Feb 04
2
ASCII characters: from decimal code to R octal?
Is there a straightforward way to convert character information from decimal representation to the octal one used by R? I'd like something like a function ascii(number,base=10), such that > ascii(91) [1] "\133" I can easily do the mapping from 91 to 133, but what is a good way to operate on 133 to deliver "\133"? Would a lookup table be a better solution? David