Find Jobs
Hire Freelancers

MySQL function - TextToNumber

$30-250 NZD

In Progress
Posted over 7 years ago

$30-250 NZD

Paid on delivery
I need a MySQL function to convert text to a number, for comparison purposes. There are 7 format types: 1. Number - Already a number, so don't need to do anything 2. Detection - {"Not detected","ND"}=0, {"Detected"}=1 3. Count - Anything beginning with "<" divide by 10, anything beginning with ">" multiply by 10. e.g. "<10"=1, ">1000"=10000 4. Abs/Pres - {"Abs","Absent"}=0, {"Pres","Present"}=1 5. Letter - AA=0, A=1, B=2, C=3, etc 6. Pass/Fail - "Fail"=0, {"Pass","Pass 1"}=1, "Pass 2"=2, etc 7. Typ/Atyp - {"Typ","Typical"}=0, {"Atyp","Atypical"}=1 This will allow me to select data from my table using a WHERE clause, and specify a range. Example: Select result From results Where result > 0 And result < 100; If the result value is ">1", the select query will return this result (will evaluate to 10 based on rules above). The function should be case insensitive e.g. "ABS"=="Absent" and return a pure integer with no commas. Some of the results (especially format 1) have numbers after the decimal point.
Project ID: 12815349

About the project

6 proposals
Remote project
Active 7 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
6 freelancers are bidding on average $197 NZD for this job
User Avatar
Hello dear sir or madam, I have experiences in php, html, jQuery and MySql. I believe that I can achieve this in high quality and ON time.
$98 NZD in 3 days
4.9 (8 reviews)
2.7
2.7
User Avatar
Hi Sir Very good project, rather project of my personal interest. I have studied the details, I have done this kind of work before and I am pretty much sure that it could be done in less than 5 days. I have 10+ years of experience in physical Market But it becomes 0 Experience in Freelancer as I am new here. Please give me a chance. I will get all payment of successful completion of project. Customer satisfaction is my priority. Regards. NineSol
$250 NZD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$277 NZD in 7 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of NEW ZEALAND
Timaru, New Zealand
5.0
14
Payment method verified
Member since Sep 26, 2012

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.