Most voted "conversion" questions
None
Learn more…103 questions
Sort by count of
-
16
votes3
answers29267
viewsBarcode Converter - Convert Barcode to Digitized Line
I’m reading the bank note barcode, but found that the barcode does not exactly match (numerically) the digitable line (also called line code, numeric code or IPTE). According to a document from…
-
11
votes2
answers12313
viewsHow to convert binary to decimal?
I had to make a huge equation to convert a binary number to decimal. What is the best way to make such a conversion? For example 0011 1011 0101 = 949 At the suggestion of Jorge B., I am putting my…
-
8
votes2
answers9026
viewsAlgorithm in C to convert Arabic number to Roman number
How to make this conversion? It doesn’t need to be the algorithm ready, wanted a help at least in logic.
-
8
votes2
answers690
viewsHow do I convert PNG to JPG in C#?
I’m working on an old project that uses ASP Site. I need to convert PNG image to JPG. How to do this? Note: I don’t want to rename the file, I want to transform the mime of image/png for image/jpeg.…
-
8
votes2
answers863
viewsConvert binary to decimal without using "parseint()"
I’m trying to make a script binary to decimal number conversion. I know what to use parseInt() It’s enough, but it’s not what I want here. Apparently the code had worked, but when the binary number…
-
7
votes3
answers49921
viewsConvert string number to PHP integer
I’m converting a string to an integer in PHP, but at the return of settype($variavel, "integer"), or (int)$variavel bring me a null value or equal to 1. Have another way to try the conversion? The…
-
7
votes2
answers227
viewsHow to convert byte to Boolean[8] and convert back?
I need to record some booleans in a File, and then retrieve them. I can record and read one or more bytes with the Classes java.io.FileInputStream and java.io.FileOutputStream, so I need to convert…
-
6
votes1
answer305
viewsString para Date
I’m creating some parsers and was doing some tests to develop Date’s. This code: value = '2015-12-31 23:16:00' value = value.replace(/(\d{4}-\d{2}-\d{2}) ?(\d{2}:\d{2})?(:\d{2})?.*/, '$1T$2$3');…
-
6
votes1
answer476
viewsConvert Image to Base64 with Ionicframework
Is there any library that can convert images to base64 with the Ionic Framework? I tried to use the angular-Base64-upload, worked with the angular, but in the Ionic did not succeed. If anyone knows…
-
6
votes2
answers108
viewsLine breaking problems and correctly display real value conversion on C#
I made a simple C# code that asks you to enter name, age, weight, city and state, performs normally only that it appears some problems as instead of the weight being 60.5KG gets 605KG and wanted to…
-
5
votes2
answers987
viewsHow to transform HTML into an image on the server?
I have an Asp.Net MVC project with . Net Framework 4 in Visual Studio, where I need to transform a string with HTML code into image on the server side. I’ve been trying to use that library, but I’m…
-
5
votes3
answers907
viewsSum array in javascript currency
I need help to convert and add formatted currency fields coming in this format "1.568,78" I have a code that sums an array of parcels and checks if it is equal to the total value of the invoice that…
-
5
votes1
answer342
viewsJava, convert floating point hexadecimal value
I am developing an application that receives data from a GPS board, the data is received by bluetooth in hexadecimal, the latitude and longitude values are floating points of 64 bits, which follows…
-
5
votes3
answers296
viewsFunction that converts this string to a json
I have a string in the following format: "a=123 b="ABC" c="Olá Mundo!"" need to create a function that transforms this string in this json: { a : 123, b : "ABC", c : "Olá Mundo!" } I think it has a…
-
4
votes1
answer199
viewsConvert string to specific format in date
I have a string "sex, nov 6" and need to convert to DateTime. I’m doing it this way: DateTime datetime = DateTime.Parse(gridT.Columns[e.ColumnIndex].HeaderText.ToString()); But it’s not working. How…
-
4
votes4
answers3012
viewsHow to convert scientific notation to full number string
What php function should I use to do this type of conversion? Convert: 1.3388383658903E+18 to: 1338838365890273563 I tried that, but it didn’t work: echo sprintf(sprintf('%%.%df', 0),…
-
4
votes2
answers1398
viewsJava to Kotlin conversion
One of the qualities cited about the Kotlin language is the creation of clean code, that is, code that is pleasant to read and that can accomplish its goal without curling. From what I saw, Android…
-
4
votes1
answer777
viewsHow to transform a string into HTML C#
I am using a component and need to load it with HTML snippet that comes in a variable. For this I created this Jquery: $(document).ready(function(){…
-
4
votes2
answers132
viewsSHA512 hexadecimal return
I found an example of encrypting a string with SHA512. public static string HashedString(string text) { SHA512Managed sha512 = new SHA512Managed(); byte[] hash =…
-
3
votes1
answer278
viewsI get NA when I convert Character to time (Posixlt)
Why do I get NA when I do this conversion from Character to Posixlt? library(bReeze) data(winddata) tempo <- winddata[,1] tempo[1:6] # Preview # [1] "06.05.2009 11:20" "06.05.2009 11:30"…
-
3
votes1
answer832
viewsStandards for Android Development
Does anyone know where I can find the standards for Android development? Since: Name of Views Class name Activities Resources
-
3
votes3
answers379
viewsHow to convert database timestamp to fill a datetime-local field?
I need to fill in a field: <input id="date" type="datetime-local" class="form-control" value="{{$task->date}}" name="date"> The return comes in format timestamp ("2016-09-20 10:00:00"), is…
-
3
votes1
answer326
viewsTorque conversion limit in C
I developed this code in C for conversion from integer to binary, but the limit is 1023. Any number above this, the conversion ceases to be performed Why and possible solution? int binario(int num)…
-
3
votes2
answers117
viewsturn numbers into relative frequency
Dear, I have the following table with absolute numbers: structure( list( X = c("Ver_suj", "Ver_obj", "Substantivo", "Adjetivo" ), Bolsonaro = c(59L, 299L, 988L, 653L), Ciro = c(188L, 242L, 128L,…
-
3
votes1
answer478
viewsConverting Java code to C#
I would like a help to convert the following code in Java to C#. public static long convertStringToBitboard(String Binary) { if (Binary.charAt(0)=='0') { return Long.parseLong(Binary, 2); } else {…
-
3
votes3
answers126
viewsString to date.parse Javascript conversion problem
I’m getting in a date value variable on string and making the conversion to date, to be able to make a condition. The problem is that when the date comes as 31/12, the variable gets NaN. Follow the…
-
2
votes1
answer1118
viewsConvert . raw file to . mp3 file or other audio format
I have an app that makes audio recordings and stores them on a server. I need these files to be converted from the . raw extension to any audio format, preferably the extension. mp3, to be…
-
2
votes1
answer570
viewsConversion of string to datetime with specific format
I have a string in the following format: 16Mar2009(mon), but I’m not getting to convert into datetime. string format = "dMMMyyyy(dd)"; DateTime dt = DateTime.ParseExact("16Mar2009(mon)",…
-
2
votes1
answer9153
viewsSQL Convert minutes to minutes:minutes:seconds
How to convert a value in minutes in oracle to the time:minutes:seconds format?
-
2
votes1
answer70
viewsHow to convert XML to Swift objects?
How can I convert XML request replies to objects in Swift format, just like Objectmapper does with JSON for objects?
-
2
votes1
answer735
viewsHow to convert HTML to RTF?
I have an Asp.Net MVC project where I would like to convert an HTML string to RTF in Controller. I’ve tried the following ways: Source 1 using(var webBrowser = new WebBrowser()){…
-
2
votes2
answers4786
viewshow do I remove some numbers after the comma in PHP
How do I remove some numbers after the comma in PHP? ex: 25.523832732732... Then I want you to stay only 25.52
-
2
votes3
answers374
viewsStore CSS in string
.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip::before{content:"Visit…
-
2
votes1
answer1367
viewsHow to create a numeric system?
Situation I recently received a challenge in college to do : From the decimal system 0123456789, using only the numbers that mirrored can still be read find the thousandth number of this system.…
conversionasked 6 years, 9 months ago Guilherme Lautert 15,097 -
2
votes1
answer1132
viewsConvert Float to Python Binary
I’m studying the IEEE 754 standard, and I should create a new 16-bit method. This function is to convert the mantissa that is already in format 1,xxx*2 yyy What may have gone wrong in this code,…
-
2
votes1
answer116
viewsHow to convert 39 hours to 'TIME' type
To accomplish a certain task, I count in my system the time spent of the respective task. Today I came across the following: Data Inicial: 17/12/2018 16:49:14 Data Final: 19/12/2018 08:02:58…
-
2
votes1
answer122
viewsComma to Numeric number conversion in R
I have a script that receives a user value, via readLines. This value is a number (monetary value) with two decimal places that must be saved in a frame date. However, when I convert the received…
-
2
votes2
answers77
viewsIn a Dataframe, modify data from one column conditioned to the value of another column
I am working on an automation with reports for the results of cryptocurrency/stock buying and selling operations. I need to convert the positive value of a cell to negative if it is bought (BUY).…
-
1
votes1
answer94
viewsError running Xcode 6 an app created in Xcode 5
I have an app that runs perfectly on Xcode 5. For update effect, I installed Xcode 6 and ran the same app (without uninstalling Xcode 5). Then I found some problems, among them: 1) The app runs only…
-
1
votes1
answer49
viewsSVG image conversion in Ruby on Rails
I have an application in Rails and there I generate SVG images to return to the user by email, but I want to return this in another format (png or jpg). Does anyone have any tips on how I can do…
-
1
votes1
answer67
viewsError converting with Duocode using Winforms
I developed a C# application using Windows Forms, but wanted to convert to Javascript using Duocode. But it is giving the following errors: tryduocode.cs(7,14,7,21): error CS0234: The type or…
-
1
votes2
answers73
viewsHow do you get the time zeroes out?
I am using a Label to receive the time of a video. The time I receive from the video is a double which comes in milliseconds, for example: 1555 = 1,555 sec. When I convert to TimeSpanthe label…
c# winforms visual-studio-2015 type-conversion conversionasked 8 years, 5 months ago Caio Henrique Nespolo 45 -
1
votes1
answer679
viewsConversion of Oracle to Sqlserver
Context: Currently I work in a system that uses the database oracle, but now I’m going to need the system to use sqlserver. My goal is to convert DDL and DML for sqlserver, I see there are some…
-
1
votes2
answers95
viewsTurn a JSON string into a non-associative array in PHP
Good afternoon, would like to convert a string into a non-associative array in PHP, functions like json_encode/json_encode are not working properly. String: word =…
-
1
votes1
answer53
viewsHow do I validate how many images are inside a TIFF file?
I want to do a validation in C# for when to convert a TIFF image to JPEG I can know if all the images have been converted, because TIFF is a single file that sometimes brings several images inside…
-
1
votes2
answers5037
viewsDecimal to hexadecimal conversion
I need to do a python algorithm to make a decimal to hexadecimal converter. But I can’t use ifs or ready-made functions, like Hex(). I did, but when I went to print the value in hexa I used…
-
1
votes2
answers200
viewsHow to convert text into file to number with decimals?
I have this data written in the text file "000001010" (you only have this data), but I wanted when it was for the variable to be like this 10.10. I’m reading the file data like this: var linhas =…
-
1
votes1
answer343
viewsConvert Html5 video time to hours, minutes and seconds - Javascript
I need a little help, I’m new here and I’m trying to create a custom video player, only I’m having a hard time in the time part, and I wanted someone to help me do just that, if possible, by…
-
1
votes2
answers7160
viewsDecimal to binary conversion in C language
The code below, from the original (http://www.programasprontos.com/algoritmos-conversores/conversao-decimal-para-binario-c/) "prints" a decimal number between 0 and 255 in binary. #include…
-
1
votes1
answer1554
viewsConvert a word(DOC,DOCX) document to PFD using PHP or Javascript
I wonder if there is the possibility of converting a Word file (.doc,.docx) to a . pdf file using Php or Javascript (or something similar). For example: the user uploads a. docx file that should be…