Most voted "range" questions
None
Learn more…31 questions
Sort by count of
-
7
votes2
answers4189
viewsHow to generate the alphabet with white space between letters?
In Haskell I can generate the alphabet as follows: alfabeto = ['a'..'z'] To display it is enough: alfabeto "abcdefghijklmnopqrstuvwxyz" However, I would like to know how I can put a space between…
-
6
votes2
answers670
viewsAn Exception of type 'System.Outofmemoryexception' occurred in mscorlib.dll but was not handled in user code Asp.net
I’m having a hard time solving this mistake. My goal is to collect data from an Excel file and store it in c#variables, which in turn will be inserted into SQL Server 2012. Reading is done line by…
-
4
votes2
answers402
viewsHow to make a span display the value of a range as you move it with your mouse?
The function is working, but I want to update the value in <span> as I move the mouse. Someone can help? function mostrarPorcentagem(novoValor) {…
-
4
votes3
answers351
viewsGroup by days interval using Linq
How can I use interval grouping with Linq? var dados = new[] { new { Id = 0, dias=100, preco= 25, Nome="etc"}, new { Id = 1, dias=40, preco= 50, Nome="etc1"}, new { Id = 2, dias=50, preco= 55,…
-
4
votes1
answer101
views -
3
votes3
answers179
viewsBasic Python repetition - doubt in "and" and "or"
Hello, I’m learning Python. A question arose in a repetition exercise (for). The exercise is to identify all odd numbers and at the same time multiples of 3, in the range of 0 to 500. The solution…
-
2
votes1
answer1579
viewsAdd point to every three numbers (thousand) in an input range tooltip?
How do I add "mile point" to the numbers, R$1000 for R$1.000 in an input range tooltip: Code: var mySlider = $("input#valores"); $('#valores-credito, #valores-parcela').slider({ formatter:…
-
2
votes1
answer857
viewsCSS Style input range
I need to do an input range for age group definition this way: I thought I’d do the "big" bar with this 20-by-20 fixed strip, or a non-standard bar like in this example, but I’m new and I don’t…
-
2
votes2
answers663
viewsRuby - comparison of values between a range or greater than, less than
I’m starting to study programming so, here’s a good beginner question. I took the test below to learn about case in Ruby, current_time = ARGV.first.to_i case current_time when 0..45 then puts('First…
-
2
votes1
answer730
viewsHow to calculate amplitude of each class in R?
I have the following variable in R set.seed(7) valor <- round(runif(35, min=30, max=100), 2) I want to calculate the amplitude (maximum value - minimum value) for each class of my data. To…
-
1
votes1
answer1091
viewsTake Range button value and run function in real time
I need that in javascript pure and in real time the same value is picked up and depending on it (if it is 1, 2, 3, 4, 5) only the corresponding div appears! var inputvar =…
-
1
votes2
answers12804
viewsCounter in python
Well I’m doing a screenshot program but I want it to replace in the file name when saving, the characters "XX" by the print number. Ex: Screenshotxx.jpg in "XX" I want to put the print number ex:…
-
1
votes1
answer2606
viewsHow to format float and range input in Python 2?
I need to make an average calculator (student grades) where the entries have a decimal place and are in the range [0, 10]. The exits need to present five decimal places and so far, with what I’ve…
-
1
votes1
answer761
viewsHow to pass range type input form values for Javascript defined variables to perform conditions?
I need to take values from a form of type "range" and through the values of each <input> of <form> want to store in a var Javascript within the page itself <html> so that within a…
-
1
votes1
answer124
viewsI need to compare the value of the last filled cell with the antepenultimate
ola thank you for your attention. I need to compare the value of the last filled cell with the antepenultimate. if the value is different I want to continue with the current value if seje = place…
-
1
votes1
answer66
viewsFind equal names(string) in two distinct dataframes and add a column in the second data frame with another data from the first
Hello. I have two data frames: Times with 629 lines. rank prev_rank name league off def spi 0 1 1 Manchester City Barclays Premier League 3.34 0.24 95.24 1 2 2 Liverpool Barclays Premier League 2.95…
-
1
votes0
answers32
viewsRanges in different columns, but same row (VBA)
I have 3 different ranges of different values, for example: Range1(a,b,c), Range2(d,e,f), Range3(g,h,f). These 3 ranges are already in specific worksheet columns, that is, the first in column B, the…
-
1
votes2
answers86
viewsHow would you solve this simple question?
I was solving a simple Python question The program asks for three numbers and returns in descending order - I decided to do it using a list, like this: numeros = [] for i in range(0,3):…
-
0
votes0
answers129
viewsI need to select ranges concatenating Addresses in VBA
I have a sub in VBA that does several calculations to get into a range address list listaAddresses = "$A$1, $H$3,$V$1,$M$16,$A$21,$B$13,$H$88..... $T$44" With this list I need to select all ranges.…
-
0
votes1
answer229
viewsRange defined by SQL user
In sql there is some way to define the range of a query according to the user’s past ? Example Number of days the user enters for 7, and set as registration date day 07/01/2018, the bank return the…
-
0
votes1
answer547
viewsPython to turn a number into an integer
import math x=9 raiz=math.sqrt(x) print raiz for i in range (raiz,9): #Problema aqui i=i**2 print i I need to create a for with the root of an operation (always whole. 2, 3,4,5...) but when I try to…
-
0
votes0
answers60
viewsRange of a SWIFT Array
I have an array of bytes and I need to find out in which track (startindex and endindex) a byte this or if only has startindex ex: var Faixa1:Array<UInt16> = [2,4,6,8,10,11,12] var…
-
0
votes1
answer110
viewsRecording date range, with useful days in Dictionary
I need to build two methods in my system, which do the following: 1) Save to a dictionary<T> in C#, a crease of dates. For this I have a function that consumption in the Sqlserver here from…
-
0
votes1
answer66
viewsHow do I get a type range to be filled out according to marking?
I’ve seen this on many websites, but some using Javascript or box-shadow, only that neither of the two is functional for the project (is being done in Wordpress). <!DOCTYPE html> <html>…
-
0
votes0
answers17
viewsAbout Pygame, I need a picture to get smaller and soon dps return to their normal size, cm a button being pressed for example
My main problem is that when I create a function to get the image back to normal size, instead of it shrinking back to normal, it simply skips the step of shrinking the image. (it does not have the…
-
0
votes1
answer57
viewsDoubt For i Range Python
First, I have 2 dataframe with several latitude and longitude points: db_gas2['lat-long'] = db_gas2['latitude'].astype(str)+', '+db_gas2['longitude'] db_gas2 db_cidades3['lat-long'] =…
-
0
votes1
answer23
viewsHow to change 2 values by changing the [input type=range] to be rendered on the page? VUEJS
I am trying through Vuejs to change the pages and the corresponding values when moving the input type="range". For example: value: 16$ / 100K PAGESVIEWS, value: 24$ / 500K PAGEVIEWS I would also…
-
-1
votes1
answer79
viewsConvert percentage to real in the input Rage slider Html5
I need to convert mine input range of percentage to dinheiro and the minimum value shall be R$170,00 and the maximum R$ 5.000,00 I tried to touch the script to convert but it keeps giving error…
-
-1
votes1
answer28
viewsGeneric mapping multiple numerical ranges
I’m writing a code, for making decisions on an 8bit microcontroller, an AVR. I get 8 range of double values, limited by Vf_max and Vf_min, I don’t know which will be the biggest in each track. As in…
-
-2
votes2
answers174
viewsWhat color format should be used in the range parameters of the "cv2.inRange" function?
I want to create a mask for my image with Opencv using the function inRange, but I don’t know which color format to use. The documentation only says that the image (first parameter) must be in HSV,…
-
-4
votes1
answer35
viewsHow do I make a series of numbers (3-in-3). Using for x in range?
How I make a series of numbers (3-in-3). Using for x in range ?