Questions tagged as 'formato'

2
answers

Problem with decimals in Java

I'm doing small problems like practice for the course I'm following from Java. I want when I enter two results, such as: 50,000 and 20,000 the result you get is 30,000 and not 30.0 On the contrary when I write 50,000 and 42,521 the resu...
asked by 19.12.2018 / 00:10
1
answer

SQL - Show date in "Lun dd-mm-yyyy" format

I've searched Stack Overflow but I can not find it. In SQL Sever 2008 I have a table called "tbltemp" with a field called "day", this field is DateTime type. When I consult direct dates on this field, it shows the following: Select day fro...
asked by 18.04.2017 / 21:33
0
answers

Would my PHP structure be fine, or would it cause possible errors in the future? [closed]

I've been learning php for a while, and I've considered creating a more serious project. I'm still making prototypes of structuring the project, and for the moment, of all the ones I've done, it's based on this. Now that you have seen w...
asked by 03.01.2019 / 00:53
3
answers

Format percentage in C #

I'm having a little problem with formatting numbers by percentage, I have a List<decimal> that has these elements 0.006250 0.010000 0.012500 0.016600 0.025000 0.050000 I intend to get back: 0,0625% 1% 1,25% 1,66% 2,5% 5% I...
asked by 03.09.2018 / 20:19
2
answers

Millennium change date format error

When reading the date of birth of the CURP, and formatting it ( yyyy-MM-dd ), when entering a CURP with date of birth (example: XXXX270503XXXXXXXX ) the formatter instead of putting the date as 1927-05-03 puts it as 2027-...
asked by 03.08.2017 / 00:14
1
answer

Format md-datepicker in angular inconsistent

I have a md-datepicker defined with Angular 1.X: <md-datepicker ng-model="query.filter.mindate"></md-datepicker> How can I define the format of the date of this component? I have already read some answers about it (lik...
asked by 09.02.2017 / 15:42
1
answer

what should I do to show me the correct number and not formulated

I have a cell formulated with an SI and the result must be a number, I went to cell format and select number format. Now from word I am trying to print on a pre printed form, so scan the form and import it in word and there I assign the excel...
asked by 28.06.2016 / 19:31
2
answers

R: Generate values in new columns in Dataframe from column names

Greetings to all, You see, I have a large dataframe, and the names of the columns have a format type "XXX_YYY_ZZZ", being able to take XXX, YYY or ZZZ different categories / factors. I would like to make a dataframe of only 4 columns, being t...
asked by 28.09.2017 / 14:56
1
answer

validate number in input and at the same time format it in thousands

Good day, I have the following code that formats several input that have the input_values_provisional class, placing point every three characters in this way: 500.000.000 The code itself works perfect on its own since I've checked it out....
asked by 06.04.2018 / 21:48
1
answer

Format the output of System () in C

I simply have an ascci art that I show with different printfs and I want to put in the middle the name of the user. (with the name I mean the windows user). I thought about taking out the name with a System ("whoami"), which works for me but...
asked by 30.05.2018 / 04:01